1.

How to get the position of the character in a string in php?

Answer»

To FIND the position of a character inside a string in PHP, USE the strpos() FUNCTION in the following way:
$POS = strpos($string, $CHAR);



Discussion

No Comment Found