Mid(
     string:string,
     int:start,
     [int:length]
)
string

Arguments

string

Input string to return a portion of.

start

Starting position to return (0 is the left-most position).

length

Optional. Length of string to return.

Return value

Specified portion of the string.

Description

Returns length characters from string starting at position start. If length is -1 or omitted, returns from start to the end of the string.

Example:

Output( Mid("Hello To You", 6, 2) );
--> To

See also:
Left
Right