Summary
This article defines the instruction substring.
Table of Contents
Instruction substring
Overview
This method performs a substring operation on either a question value or the input value.
Question Id
Optional. You can specify a question path, when the instruction should work on a question value.
Value
A comma separated list, whose first entry is either “begin” or “end”. If it is “begin”, then two more values are required: start index and end index. If the first entry is “end”, then only one additional entry for the number of characters is required.
Example: Assume the input or question value is “ABCDEF”. A substring instruction with value “begin,0,4″ would return “ABCD”. A substring instruction with value “end,4″ would return “CDEF”.
Input value
The input value is used, when no question is specified.
Examples
Form Type Id | Question Id | Instruction | Value | Column Number | Column Title | Data Type |
---|---|---|---|---|---|---|
toolName $>substring | $>begin,0,4 | 6 | SITEID |
Need more help?
Please visit the Fountayn Contact Information page.