String() action

Enters text on the terminal, as if typed on the keyboard.

Parameters

 * -subst
 * If provided as the first parameter, variable substitution will be performed on the string.


 * string
 * Text to add. The text can include string escape sequences.

Variable substitution
If the -subst option is given, environment variables will be substituted in the string. These use bash syntax, e.g., ${USER} will be substituted with the value of the USER environment variable.

Examples
Add the string. String(foo) Add the string, tab to the next field, add the string  , and send an Enter AID. String("username\tpassword\n") Add a string, substituting the USER environment variable: String(-subst,"login $USER\n")

Version history
The -subst option was added to x3270 4.2.