Loop Parse

Retrieves substrings (fields) from a string, one at a time.

Loop Parse (F9)

Parameters

Input Variable
The name of the variable whose contents will be analyzed. Do not enclose the name in percent signs.
Delimiters
If this parameter is blank or omitted, each character of InputVar will be treated as a separate substring.
If this parameter is CSV, InputVar will be parsed in standard comma separated value format.
Otherwise, Delimiters contains one or more characters (case sensitive), each of which is used to determine where the boundaries between substrings occur in InputVar.
Omit Characters
An optional list of characters (case sensitive) to exclude from the beginning and end of each substring.
For example, if OmitChars is %A_Space%%A_Tab%, spaces and tabs will be removed from the beginning and end (but not the middle) of every retrieved substring.

Remarks

The built-in variable A_LoopField exists within any parsing loop. It contains the contents of the current substring (field) from InputVar. If an inner parsing loop is enclosed by an outer parsing loop, the innermost loop's field will take precedence.

A Loop command in Playback may perform different then an exported script duo to the method used internally by Macro Creator.

In Playback all iterations will be performed prior to any commands in the Loop section.

Loop Parse

Download Example

Examples of Loop commands