Determine how many characters are in a string.
This function counts the number of characters in a string, or series of strings. It returns the amount as an integer. If an empty string exists or no string is provided, the value is zero.
Examples
| Code | Returns |
|---|---|
| (strlen "How many?") | 9 |
| (strlen "one" "two" "three") | 11 |
| (strlen "") | 0 |
| (strlen) | 0 |
Tell me about...
(substr string start [length])
Programming Overview of LISP (LISt Processing) Language
| Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |