CountOfChar Data Member Function

Returns the number of occurrences in the <Str> object of the specified char.

Prototype

int32 CountOfChar( string p_oStrContainingChar )

Parameters

Parameter Type Parameter Name Documentation
stringp_oStrContainingCharA <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.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.