Returns the number of occurrences in the <Str> object of the specified char.
int32 CountOfChar( string p_oStrContainingChar )
Parameter Type | Parameter Name | Documentation |
---|---|---|
string | p_oStrContainingChar | A <Str> object containing the char for which you wish to retrieve an occurrence count. This <Str> object can have multiple characters, but this data interface only searches for occurrences of the first char in the <Str> object. |
None published. Please look for an example in the Scenome Scripting Language code base.