charcount()

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

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