String types that hold bmp-chars.
lispworks
bmp-string &optional length
simple-bmp-string &optional length
| length⇩ |
The length of the string (or *, meaning any, which is the default). |
Instances of the type bmp-string are strings that can hold characters of type bmp-char, that is characters with code below #x10000 (that is 16-bit). This corresponds to the Basic Multilingual Plane of Unicode.
simple-bmp-string is the simple version of bmp-string, that is it is a simple-array of characters of type bmp-char.
If length is not *, then it constrains the length of the string to that number of elements.
bmp-strings use less memory than cl:character strings (type text-string), but cannot hold supplementary characters (that is, characters with code #x10000 or greater).
bmp-string was new in LispWorks 7.0. In LispWorks 6.1 and earlier versions text-string is similar to bmp-string. However, in most cases where you use text-string you probably still want to use text-string (using its new meaning, covering all the Unicode range).
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41