Count character maps within a string. A 'map' is a consecutive string of the same character. For example, The string '011122210011' contains three '1' maps, and one '2' map.
mapcount '01112221011' '1'
mapcount '01112221011' '2'
mapcount PAYHIST '1'
mapcount TextField CountChar
Name | Data Type | Input Type | Description | Optional | Default |
---|---|---|---|---|---|
TextField | Text | Field, Constant | No | ||
CountChar | Text | Field, Constant | No |
Type: Numeric
Number of character maps