Name

function::substr — Returns a substring

Synopsis

    substr:string(str:string,start:long,length:long)

Arguments

str

the string to take a substring from

start

starting position of the extracted string (first character is 0)

length

length of string to return

Description

Returns the substring of the up to the given length starting at the given start position and ending at given stop position.