Skip to content

substr

(substr string start [length])

Part of the string from position start (the first one is 1), with the given length or up to the end.

(substr "LinceCAD" 6)     ; "2D"
(substr "LinceCAD" 1 5)   ; "Lince"

Download LinceCAD Manual contents