Please enable JavaScript to view this site.

ESL Documentation

The extract from action statement extracts data fields from a string value and copies those fields to one or more specified variables. It is used to parse through a string, breaking it down into other variable values; most often, it is used to examine and store the input that is received from another application or from the keyboard. Nevertheless, you can use it to extract data fields from any string value. For example:

 

string Data point is "10 25"

...

response to ...

    extract from Data

        take number X

        take number Y

 

would copy 10 to X and 25 to Y. Refer to the Reference Guide for a complete description of this action statement.