%Library.Char
Class %Library.Char Extends %String [ System = 4 ]
The %Char data type class represents a fixed length character field.
The logical value of the %character field data type is a character field.
Methods
LogicalToOdbc
ClassMethod LogicalToOdbc(%val As %Char) As %String [ CodeMode = generator, ServerOnly = 1 ]
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.
LogicalToDisplay
ClassMethod LogicalToDisplay(%val As %Char) As %String [ CodeMode = generator, ServerOnly = 0 ]
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.