substr
Get a substring from a string. It takes three parameters:
- start (int)
- end (int)
- string (string)
substr 0 5 "hello world"
The above returns hello
Get a substring from a string. It takes three parameters:
substr 0 5 "hello world"
The above returns hello