charcount()

Function groupExecute on clientPlatform(s)
StringYESAll

Syntax

charcount(string,char)

Description

Returns the number of occurrences of the character char in the string

Example

Calculate
 
lString
 as 
'Omnis Studio is great'

 
Calculate
 
lCount
 as 
charcount
(
lString
,
'i'
)

# returns 3

 
 
If
 
charcount
(
lString
,
'i'
)>2

  
# returned True

End If