Go to: Synopsis. Return value. MEL examples.
substring
<string> <int> <int>
substring is undoable, queryable, and editable.
The first argument is the input string. The second and third arguments are the starting and ending character positions within the input string. substring returns the portion of the first string argument bounded by starting and ending positions.string
In query mode, return type is based on queried flag.
// returns the string "Hello". substring "Hello There" 1 5;