Read Me - Common Public License V1.0 - Copyright Notice(©)

caselessMatchChar


>>-caselessMatchChar(n,chars)-------------------------><

Returns .true ("1") if the character at position [n] matches any character of the string [chars] . Returns .false ("0") if the character does not match any of the characters in the reference set. The match is made using caseless comparisons. The argument [n] must be a positive whole number less than or equal to the length of the target string.

String class - caselessMatchChar method

"a+b"~caselessMatchChar(2, "+-*/")           ->    1
"a+b"~caselessMatchChar(1, "+-*/")           ->    0
"Friday"~caselessMatchChar(3, "aeiou")       ->    1
"FRIDAY"~caselessMatchChar(3, "aeiou")       ->    1

Read Me - Common Public License V1.0 - Copyright Notice(©)