This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %Library.Char


datatype class %Library.Char extends %Library.String


The %Char data type class represents a fixed length character field.

The logical value of the %character field data type is a character field.

Method Inventory


classmethod LogicalToDisplay(%val As %Char) as %String
Converts the value of %val, which is in logical format, into a display string. Removes all the null characters from the string.

Returns the string value of %val.

classmethod LogicalToOdbc(%val As %Char) as %String
Converts %val, which represents a CHAR in logical format (no blank space padding), into format (blank padded on the right).

Returns the ODBC string for the logical value %val.

Inherited Members

Inherited Methods

FeedbackOpens in a new window