Function tln_findnxstr
This function looks for the next character within a string. It's really just a glorified "strpos", except it catches the failures nicely.
Parameters summary
string |
$body |
The string to look for needle in. |
integer |
$offset |
Start looking from this position. |
string |
$needle |
The character/string to look for. |
Return value summary
integer
|
location of the next occurrence of the needle, or strlen($body) if needle wasn't found. |