Returns a String Value
Returns a string n characters long consisting of characters copied from string_exp$ beginning at the character specified by start_pos. If n is not specified (in the alternate format), characters are copied from start_pos to the end of string_exp$.

Examples:

SUBSTRING$("John Q. Public", 6, 1)

Returns "Q".

SUBSTRING$("John Q. Public", 6)

Returns "Q. Public".

Other Resources

 

See also:   MID$( )