Php Getting Started Tutorial: stripos instance tutorial. Php Getting Started Tutorial: stripos instance tutorial definition and usage the return position of the stripos () function. the start position of the string is displayed for the first time. If the string is not found, this function returns the php getting started tutorial:
StriposInstance tutorial
Definition and usage
The return position of the stripos () function. the start position of the string is displayed for the first time.
If the string is not found, this function returns FALSE.
Stripos(String, find, start)
Parameter description
String: required first,
Find: The string to be searched.
Start: Optional. Specifies where to begin the search
Now let's take a look at the stripos example.
Echo stripos ("Hello world! "," WO ");
?>
The output result is.
6
Definition and usage of the stripos () function in the stripos instance tutorial. the start position of the string is displayed for the first time. If the string is not found, this function returns...