R3m/framework Function reference string.compare.natural.case.insensitive

{string.compare.natural.case.insensitive(String $string1, String $string2)}

Case-insensitive string comparisons using a "natural order" algorithm.

This function implements a comparison algorithm that orders alphanumeric strings in the way a human being would.
The behaviour of this function is similar to {string.compare.natural()}, except that the comparison is not case-sensitive.
For more information see: Martin Pool's ยป Natural Order String Comparison page.

Returns an integer < 0 if string1 is less than string2; > 0 if string1 is greater than string2, and 0 if they are equal.

More information:


Last modified: 2021-06-07

© 2021 universeorange.com