Next: , Previous: strstrt, Up: Functions


1.13.1.48 substr

`substr("string",beg,end)` returns the substring consisting of characters beg through end of the original string. This is exactly equivalent to the expression "string"[beg:end] except that you do not have the option of omitting beg or end.