Command "ForString"

Summary

Performs a loop over a given String and returns token after token. The command belongs to the group "Control".


Parameters

Parameter Name Description Type
Delimiter The delimiter string to use. valueexpression
Input The string to be tokenized (or the name of the referenct to the respective element). valueexpression
IteratorRef The name of the reference under which the token will be accessible. saveReference

Valid parameter combinations



Description

Loops over a String to split it into several tokens. The tokens are seperated by the delimiter. The ForString body is run as many times as there are tokens.

Examples


Example 1

The example below loops three times over the string "ch.aloba.qiqu", tokenizes it into "ch", "aloba" and "qiqu" and echos it to the info log.
<ForString Input="ch.aloba.qiqu" Delimiter="." IteratorRef="myToken">
<Echo InfoText="myToken"/>
</ForString>