Char class constructors |
![]() |
|
|
Initialize the new object to contain the null character (code 0, also used as string terminator in C-style strings and in Str objects).
|
|
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