Skip to content

substring()#

Syntax
substring( string, position, length )

Returns#

Returns a substring of string starting at position for length characters.

Parameters#

Parameter Description
string The source string.
position The 1-based starting position.
length The number of characters to return.