substring

function, since version 1.1.5
categories: strings

substring(str, start, length)

return a substring length characters long from string str, starting at position start

parameters

return type

string

example

substring('hello there', 1, 3)
substring('hello there', 0, 5)

returns

ell
hello

Related functions:

Update your privacy settings