class PCaselessString |
This class is a variation of a string that ignores case.
![]() | PCaselessString () Create a new, empty, caseless string |
![]() | PCaselessString ( const char* cstr ) Create a new caseless string, initialising it to the characters in the C string provided. |
![]() | PCaselessString ( const PString & str ) Create a caseless string, with a reference to the characters in the normal PString provided. |
![]() | operator= ( const PString & str ) Assign the string to the current object. |
![]() | operator= ( const char* cstr ) Assign the C string to the current object. |
![]() | operator= ( char ch ) Assign the character to the current object. |
![]() | Clone () const Make a complete duplicate of the string. |
Construction
Overrides from class PObject
Overrides from class PContainer
Size/Length functions
Concatenation operators *
Comparison operators
Search & replace functions
Sub-string functions
Conversion functions
New functions for class
Common functions for containers
Run Time Type functions
I/O functions
Comparison functions
This class is a variation of a string that ignores case. Thus in all standard comparison (==, < etc) and search (Find() etc) functions the case of the characters and strings is ignored.The characters in the string still maintain their case. Only the comparison operations are affected. So printing etc will still display the string as entered.
myStr = "fred";
myStr = 'A';
Alphabetic index HTML hierarchy of classes or Java