Next: strftime, Previous: strstrt, Up: Functions [Contents][Index]
‘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.