Returns a substring of a string
(substr string start [length])
The substr function starts at the start character position of string and continues for length characters.
NoteThe first character of string is character number 1. This differs from other functions that process elements of a list (like nth and ssname ) that count the first element as 0.
Command: (substr "abcde" 2)
"bcde"
Command: (substr "abcde" 2 1)
"b"
Command: (substr "abcde" 3 2)
"cd"