Universeorange.com/Docs/

R3m/framework Function reference string.occurrence.case.insensitive

{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, or false if needle is not found.

More information:

https://www.php.net/manual/en/function.stristr.php

Last modified: 2021-06-07

© 2021 universeorange.com