uLike

Compares values case insensitive.

The uLike function performs a pattern-matching comparison. The first parameter contains the pattern, the second parameter contains the string to match against the pattern. A percent symbol ( % ) in the pattern matches any sequence of zero or more characters in the string. An underscore ( _ ) in the pattern matches any single character in the string. Any other character matches itself or its lowercase or uppercase equivalent.

Note:

Currently, uLike only interpret only uppercase and lowercase for 7-bit Latin characters, which means uLike is case-sensitive for 8-bit ISO8859 characters or UTF-8 characters. For example: uLike('a' ,'A') returns 1. uLike('æ' ,'Æ') returns 0.

Syntax

number uLike(pattern, text)

Parameters

Examples