Next Prev Up Top Contents Index

18.2.3 String types

String types are supplied which are capable of holding each of the character types mentioned above. The following string types defined:

base-string

holds any base-char

lw:text-string

holds any lw:simple-char

sys:augmented-string

holds any character.

In particular, lw:text-string is the type that can hold all characters used in texts. The types above include non-simple strings - those which are displaced, adjustable or with a fill-pointer.

The following types are subtypes of simple-string. Note that in the names of the string types, 'simple' refers to the string object and does not mean that the string's elements are lw:simple-char s.

simple-base-string

holds any base-char

lw:simple-text-string

holds any lw:simple-char

sys:simple-augmented-string

holds any character.


LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index