Here are some of string comparation php functions:
Finding the position of a string or substring can be made with this php functions:
This is another PHP sef function, much better to use in case you want to get remove characters that are not a-z, 0-9, dash, underscore or space, then remove all leading and trailing spaces, change all dashes, underscores and spaces to dashes and return the modified string in lower case.
(more…)
PHP substr() function will substract or returns the portion of string specified by the start and length parameters.
substr($string , int $start [, int $length ] )