Question to LikeI used *withOUT* a wildcard
Posted: 29 Nov 2017 14:06
This is just to verify: is "Abc" LikeI "abC" (no wildcard!)
exact identical to "Abc" == "abC" - but case-insensitive?
As it's much easier:
If it is: maybe it would be fine to add a help-example:
echo "Abc" LikeI "abC"; //1 (no wildcard!)
(Or might there be a form of == to be case-insensitive? I don't think so...)
exact identical to "Abc" == "abC" - but case-insensitive?
As it's much easier:
Code: Select all
If ($a LikeI $b) {...}
instead of
$a = recase($a, 'upper');
$b = recase($b, 'upper');
If ($a == $b) {...} echo "Abc" LikeI "abC"; //1 (no wildcard!)
(Or might there be a form of == to be case-insensitive? I don't think so...)