strspn()

Function group Execute on client Platform(s)
String NO All

Syntax

strspn(string1,string2)

Description

Returns the index of the first character in string1 that does not match any of the characters in string2.

Example

Calculate lResult as strspn(lString1,lString2)
; lResult is a 1-based index, or len(lString1)+1 if all characters are in lString2