Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

$Substring

Modified on July 19, 2024

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.