Answers for "search character in string php"

PHP
2

find substring in string php

pos = strpos($current_url, "workspace/detail/live-streaming/service") 
=> if pos > 0 found with the current position pos 
=> if pos < 0 not found
=> if pos = 0 => found with current position = 0;
Posted by: Guest on October-19-2021
0

php find string in string

$pos = strpos("find the position of X in here", "X");
Posted by: Guest on March-16-2021

Code answers related to "search character in string php"

Browse Popular Code Answers by Language