String - Count Delimited Strings

Counts the number of sub-strings, delimited by a certain delimiter, in a given string. The result will be stored in the variable of your choice.

Action ID:
Action Category:
Action List Syntax:

63
String
<<VARIABLE>>
= String.CountDelimitedStrings (<<SOURCESTRING>>, <<DELIMITER>>)

Settings

Store result in variable:

The name of the variable to store the string count in.

Source string:

A string that contains a delimited list of strings in it.

Delimiter:

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

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

Examples

Counting the items in a delimited string

Getting the index of the currently selected item

Searching the desktop for text files