Anonymous user
Tokenize a string: Difference between revisions
m
→[[Pop11]]
m (→[[Pop11]]) |
|||
Line 244:
;;; If comma
if str(i) = `,` then
;;;
cons(substring(j, i - j, str), ls) -> ls;
i + 1 -> j;
endif;
endfor;
;;;
if j <= length(str) then
cons(substring(j, length(str) - j + 1, str), ls) -> ls;
|