Char class constructors

Web Site  Methods

 
Char::Char ()

Initialize the new object to contain the null character (code 0, also used as string terminator in C-style strings and in Str objects).

 
Char::Char (STRACHAR source)
Char::Char (STRWCHAR source)
STRWCHAR form is available only for platforms supporting Unicode

Initialize the new object to contain a copy of the passed character.  If using a parameter of a different character set type than the current Str Library build mode, the character will be converted implicitly (ANSI to Unicode, and vice versa).

 

Important: When using Borland C++ Builder, the Char class is named StrChar to avoid a collision with a standard Borland VCL datatype

 

See also: Character class