Universeorange.com/Docs/
{string.occurrence.case.insensitive(String $haystack, String $needle, Boolean $before_needle=false)}
Find the first occurrence of a string.
Returns part of haystack string starting from and including the first occurrence of needle to the end of haystack.
Note:
This function is case-insensitive.
For case-sensitive searches, use string.occurrence.
Note:
If you only want to determine if a particular needle occurs within haystack, use the faster and less memory intensive function {string.position.first.occurrence()} instead.
Returns the portion of
string
, orfalse
if needle is not found.
https://www.php.net/manual/en/function.stristr.php
Last modified: 2021-06-07
© 2021 universeorange.com