MID

The MID function returns a sub-string of the input string, starting from the specified offset.

Input

Number of Connections: Min: 1/Max:3
InputData TypeDescription
Input1StringThe original string.
Input2IntegerSets the Offset property. (optional)
Input3IntegerSets the Count property. (optional)

Output

OutputData TypeDescription
Output1StringThe sub-string.

Property

NameProperty TypeDescription
OffsetIntegerThe character position the sub-string is to start from. The first character in the original string is position 1.
CountIntegerThe number of characters to include in the new string. If set to -1, all the characters from the Offset to the end of the original string will be included in the new string.

Topic


Example

PropertyOutput
Input 1abcdefghijklmnopOffset3cd
Count2