All Manuals > LispWorks User Guide and Reference Manual > 40 The LISPWORKS Package

NextPrevUpTopContentsIndex

bmp-string

simple-bmp-string

Types
Summary

String types that hold bmp-chars.

Package

lispworks

Description

The type bmp-string is a string that can hold bmp-chars, 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 bmp-chars.

Notes
  1. 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).
  2. The corresponding character type is bmp-char.
Compatibility note

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).

See also

text-string
bmp-char
Character and String types


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex