TRUNCATE

The TRUNCATE function truncates a string.

Input

Number of Connections: Min: 1/Max:2
InputData TypeDescription
Input1StringThe string to truncate.
Input2IntegerSets the Length property. (optional)

Output

OutputData TypeDescription
Output1StringThe truncated string.

Property

NameProperty TypeDescription
StartFromchoice Specifies the direction from which truncation is to be performed.

Left - truncate the left portion of the string
Right - truncate the right portion of the string
LengthInteger Specifies the number of characters to be truncated.

Topic


Examples

PropertyOutput
Input1InfoteriaStartFromLeftteria
Length4

PropertyOutput
Input1InfoteriaStartFromRightInfo
Length5