substring

substring

> Functions

Returns the substring of the string string starting from the character at index start and of size length.

Parameters
Return
Examples

substring("Hello world!", 3) // "lo world!" substring("Hello world!", 3, 6) // "lo wor"

See as well