&&verifyNoMatch: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Ekern (talk | contribs)
Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| Returns the 1-based position (in ''string'') of the first character in ''string'' that is '''''not''''' in the characters..."
 
(No difference)

Latest revision as of 17:28, 24 August 2022

Action:

Returns the 1-based position (in string) of the first character in string that is not in the characters in charSet. If no character in string is not in charSet, returns 0.

Syntax:

&&verifyNoMatch(string,charSet

where the arguments observe the rules for &&function string arguments.

For example, the first &&verifyNoMatch call in the following sequence
returns 1; the second returns 4; the third returns 0; the fourth returns 4:

&&verifyNoMatch("Shazam","abcsh")  &&verifyNoMatch("Shazam","abcSh")  &&verifyNoMatch("Shazam","Shazam")  &&verifyNoMatch("123.45","0123456789") 

Introduced: Build 58