Go to: Synopsis. Return value. MEL examples.

Synopsis

substring string int int

substring is NOT undoable, NOT queryable, and NOT 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.

Return value

stringSub-string

MEL examples

// returns the string "Hello".
substring "Hello There" 1 5;