--- title: "$Substring" ---
This is generated from the built in components of Otter 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Returns a segment of another string.

Script usage:

$Substring(Text, Offset, [Length])

Parameters:

NameDescription
TextThe input string.
OffsetThe zero-based offset into the first parameter that will begin the segment.
LengthThe number of characters in the segment. If not specified, the remainder of the string is used.