Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%Library] >  [Char]
Private  Storage   

datatype class %Library.Char extends %String

ODBC Type: VARCHAR

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

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary

Methods
DisplayToLogical IsValid JSONToLogical LogicalToDisplay
LogicalToJSON LogicalToOdbc LogicalToXSD Normalize
XSDToLogical


Methods

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



Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.