substring(s,i,n) -- yields the substring of the string s starting at position i with length n.
substring(s,i) -- yields the substring of s starting at position i and continuing to the end of s.
Positions are numbered starting at 0.
Requests for character positions out of bounds are silently ignored.
Ways to use substring :