Check if value of one array is found in another : <p>I don't know if this type of comparison is possible. I am trying to compare arrays like listed below. </p>

<pre><code>$array = ["User1-2", "User2-2", "User3-2", "User4-2"];

$array2 = ["User1-2:280", "User2-2:280", "User3-2:280", "User4-2:280"];
</code></pre>

<p>result for User1-2 would be 280, and it should be printed as result</p>
