NAME
StringMid — Get substring of certain length, starting at given position.
SYNOPSIS
StringMid TargetString Position ?Count?
DESCRIPTION
Return Value
A substring starting at the given position and having up to count elements.
Arguments
TargetStringString to get substring from.
PositionIndex the substring starts at.
CountOptional. Maximum number of characters to get. By default it will get the rest of the string.
More Info
Note that this command is based on string range. If the position and count given are such that it goes past the end of the string then it will return as much as it can rather than throw an error.

For information regarding exceptions / errors, see here.
EXAMPLES
% StringMid "aaabbb" 3 2
bb
% StringMid "one two three" 7
three
SEE ALSO
string
KEYWORDS
string