Class Summary

The CRfcString class is defined in CRfcStrn.h.
The CRfcString class contains some basic string operations as well as functions for padding or unpadding a string with spaces.
Construction
CRfcStringConstructor from a character string
CRfcString (Copy Constructor)Copy constructor
CRfcString (from a CRfcData object)Constructor from a CRfcData object
CRfcString (with Padding)Constructor from a character string to be padded with spaces for a designated length
Operations
ClearClears out the string buffer
FindFinds the first occurrence of the given character in this CRfcString object.
GetCapitalizeGets the flag in the object indicating automatic capitalization
GetLengthGets true length of the string, without padded spaces
GetPaddedLengthGets length of the string with padded spaces
GetPaddedStringGets a string padded with spaces
operatorRetrieves or sets the character value in the CRfcString by index
operator CSTRGets the unpadded string stored in the object
operator= (String object)Assignment from a CRfcString object
operator= (String)Assignment from a string
operator != (CRfcString object)Compares to the contents of another CRfcString object for inequality.
operator != (character array)Compares to the contents of a character array for inequality.
operator += (CRfcString object)Concatenates the content of this and another CRfcString object and stores the result in this CRfcString object.
operator += (character array)Concatenates the content of this CRfcString object and a character array, and stores the result in this CRfcString object.
operator == (CRfcString object)Compares to the contents of another CRfcString object for equality.
operator == (character array)Compares to the contents of a character array for equality.
operator >= (CRfcString object)Compares lexigraphically to the contents of another CRfcString object for ‚greater than‘.
operator >= (character array)Compares lexigraphically the contents of this CRfcSting object to the contents of a character array for ‚greater than.
SetCapitalizeSets the capitalization flag
Substr (with starting position)Obtains a CRfcString object whose content is the substring of this CRfcString object starting with the character at the given index and extends to the end
Substr (with starting position and length)Obtains a CRfcString object whose content is the substring of this CRfcString object starting with the character at the given index and extends to the end
ToUpperConverts all lower-case alphabetical characters to upper-case