Tom's lisp provides some basic operations on strings. This page simply summarizes them.
strlen | Returns the length of a string. | |
string-length | Alias for strlen. | |
concat | Concatinate two or more strings together. | |
string-append | Alias for concat. | |
substr | Computes a substring. It takes the string, the starting position (zero-based), and the length. | |
chr | Takes an integer value and returns the one-character string containing the character with the ascii value of the argument. | |
ord | Return the ascii value of the first character in the arguemnt string, or nil if the string is empty. | |
shatter | Takes a string and returns a list of one-character strings for each character in the argument string | |
collect | Takes a list of strings and appends them together into a single string which is returned. |