Command Reference

Count Delimited Strings

This action will count the number of strings, delimited by a certain delimiter, in a given string. The result will be stored in a supplied variable.

Action ID: 70
Action Category: Strings

Settings

Store result in variable:

The name of the variable to store the number of strings in.

Source string:

A string containing a delimited list.

Delimiter:

The character(s) that delimit the items in the delimited list.

Return Values

None.

Example

To find out how many delimited items are in the list of names "Brett,Lorne,Colin,Adam,Sandy,Mark,Darryl,Ted", use the following data:

Store result in variable: %NumberOfNames%
Source string: Brett,Lorne,Colin,Adam,Sandy,Mark,Darryl,Ted
Delimiter: ,

 

See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab