PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $str = "This ↔ is a left-right arrow symbol"; $needle = "↔"; $pos = strpos($str, $needle); if ($pos !== false) { echo "Symbol found at position $pos"; } else { echo "Symbol not found"; }
Show:  
Copy Clear