#include <String.h>
It provides methods to concat, find, substring etc. The class always allocates some extra bytes so that many operations do not reallocate too often.
Definition at line 55 of file String.h.
Public Member Functions | |
void | Append (bool boolean) |
Adds a boolean string at the end of this string. | |
void | Append (unsigned long number) |
Adds an unsigned long number at the end of this string. | |
void | Append (long number) |
Adds a signed long number at the end of this string. | |
void | Append (unsigned int number) |
Adds an unsigned int number at the end of this string. | |
void | Append (int number) |
Adds a signed int number at the end of this string. | |
void | Append (char character) |
Adds a character at the end of this string. | |
void | Append (const char *string) |
Adds another string at the end of this one. | |
void | Append (const class String *String) |
Adds another string at the end of this one. | |
void | Append (const class String &String) |
Adds another string at the end of this one. | |
void | Clear () |
Clears the string, removing the content and setting the length to zero. | |
String | Clone () const |
Returns a stack memory clone of this string. | |
int | CompareTo (const char *string) const |
Compares this string to another one and returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the Compare function. | |
int | CompareTo (const String *String) const |
Compares this string to another one and returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the Compare function. | |
int | CompareTo (const String &String) const |
Compares this string to another one and returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the Compare function. | |
int | CompareToIC (const char *string) const |
Compares this string to another one ignoring the caseand returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the CompareIC function. | |
int | CompareToIC (const String *String) const |
Compares this string to another one ignoring the caseand returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the CompareIC function. | |
int | CompareToIC (const String &String) const |
Compares this string to another one ignoring the caseand returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the CompareIC function. | |
bool | Contains (const char *string) const |
Returns whether another string is contained in this string. | |
bool | Contains (const class String *String) const |
Returns whether another string is contained in this string. | |
bool | Contains (const class String &String) const |
Returns whether another string is contained in this string. | |
void | Cut (unsigned int fromIndex, unsigned int length) |
Cuts off a part of the string, starting at a given index. | |
void | Cut (unsigned int fromIndex) |
Cuts off a part of the string, starting at a given index. | |
bool | EndsWith (const char *string) const |
Returns whether another string is part of the end of this string. | |
bool | EndsWith (const class String *String) const |
Returns whether another string is part of the end of this string. | |
bool | EndsWith (const class String &String) const |
Returns whether another string is part of the end of this string. | |
bool | EndsWithIC (const char *string) const |
Returns whether another string is part of the end of this string, ignoring the case of the two strings. | |
bool | EndsWithIC (const class String *String) const |
Returns whether another string is part of the end of this string, ignoring the case of the two strings. | |
bool | EndsWithIC (const class String &String) const |
Returns whether another string is part of the end of this string, ignoring the case of the two strings. | |
bool | Equals (const char *string) const |
Returns whether this string equals another one, in terms of the Compare function. | |
bool | Equals (const class String *String) const |
Returns whether this string equals another one, in terms of the Compare function. | |
bool | Equals (const class String &String) const |
Returns whether this string equals another one, in terms of the Compare function. | |
bool | EqualsIC (const char *string) const |
Returns whether this string equals another one, in terms of the CompareIC function. | |
bool | EqualsIC (const class String *String) const |
Returns whether this string equals another one, in terms of the CompareIC function. | |
bool | EqualsIC (const class String &String) const |
Returns whether this string equals another one, in terms of the CompareIC function. | |
int | Find (const char *string, unsigned int fromIndex) const |
Returns the first position of another string in this one, starting from a given position. | |
int | Find (const class String *String, unsigned int fromIndex) const |
Returns the first position of another string in this one, starting from a given position. | |
int | Find (const class String &String, unsigned int fromIndex) const |
Returns the first position of another string in this one, starting from a given position. | |
int | Find (const char *string) const |
Returns the first position of another string in this one. | |
int | Find (const class String *String) const |
Returns the first position of another string in this one. | |
int | Find (const class String &String) const |
Returns the first position of another string in this one. | |
int | FindIC (const char *string, unsigned int fromIndex) const |
Returns the first position of another string in this one, ignoring case, starting from a given position. | |
int | FindIC (const class String *String, unsigned int fromIndex) const |
Returns the first position of another string in this one, ignoring case, starting from a given position. | |
int | FindIC (const class String &String, unsigned int fromIndex) const |
Returns the first position of another string in this one, ignoring case, starting from a given position. | |
int | FindIC (const char *string) const |
Returns the first position of another string in this one, ignoring case. | |
int | FindIC (const class String *String) const |
Returns the first position of another string in this one, ignoring case. | |
int | FindIC (const class String &String) const |
Returns the first position of another string in this one, ignoring case. | |
int | FindLast (const char *string, unsigned int fromIndex) const |
Returns the last position of another string in this one, starting from a given position. | |
int | FindLast (const class String *String, unsigned int fromIndex) const |
Returns the last position of another string in this one, starting from a given position. | |
int | FindLast (const class String &String, unsigned int fromIndex) const |
Returns the last position of another string in this one, starting from a given position. | |
int | FindLast (const char *string) const |
Returns the last position of another string in this one. | |
int | FindLast (const class String *String) const |
Returns the last position of another string in this one. | |
int | FindLast (const class String &String) const |
Returns the last position of another string in this one. | |
int | FindLastIC (const char *string, unsigned int fromIndex) const |
Returns the last position of another string in this one, ignoring case, starting from a given position. | |
int | FindLastIC (const class String *String, unsigned int fromIndex) const |
Returns the last position of another string in this one, ignoring case, starting from a given position. | |
int | FindLastIC (const class String &String, unsigned int fromIndex) const |
Returns the last position of another string in this one, ignoring case, starting from a given position. | |
int | FindLastIC (const char *string) const |
Returns the last position of another string in this one, ignoring case. | |
int | FindLastIC (const class String *String) const |
Returns the last position of another string in this one, ignoring case. | |
int | FindLastIC (const class String &String) const |
Returns the last position of another string in this one, ignoring case. | |
void | Format (const char *format,...) |
Formats a string the same way sprintf does. | |
void | FormatFromVargs (const char *format, const va_list &arguments) |
Formats a string the same way vsprintf does. | |
unsigned int | GetLength () const |
Returns the length of the string. | |
String * | HeapClone () const |
Returns a heap memory clone of this string. | |
void | Insert (bool boolean, unsigned int index) |
Inserts a boolean string at a given position of this string. | |
void | Insert (unsigned long number, unsigned int index) |
Inserts an unsigned long number at a given position of this string. | |
void | Insert (long number, unsigned int index) |
Inserts a signed long number at a given position of this string. | |
void | Insert (unsigned int number, unsigned int index) |
Inserts an unsigned int number at a given position of this string. | |
void | Insert (int number, unsigned int index) |
Inserts a signed int number at a given position of this string. | |
void | Insert (char character, unsigned int index) |
Inserts a character at a given position of this string. | |
void | Insert (const char *string, unsigned int index) |
Inserts another string at a given position of this one. | |
void | Insert (const class String *String, unsigned int index) |
Inserts another string at a given position of this one. | |
void | Insert (const class String &String, unsigned int index) |
Inserts another string at a given position of this one. | |
bool | IsEmpty () const |
Returns whether this string is empty (zero length). | |
operator const char * () const | |
Returns a C style string containing the data of this object. | |
bool | operator!= (const char *string) const |
Returns whether this string does not equal another one, in terms of the Compare function. | |
bool | operator!= (const class String *String) const |
Returns whether this string does not equal another one, in terms of the Compare function. | |
bool | operator!= (const class String &String) const |
Returns whether this string does not equal another one, in terms of the Compare function. | |
String | operator+ (bool boolean) const |
Returns the concatenation of this string and a boolean string. | |
String | operator+ (unsigned long number) const |
Returns the concatenation of this string and an unsigned long number. | |
String | operator+ (long number) const |
Returns the concatenation of this string and a signed long number. | |
String | operator+ (unsigned int number) const |
Returns the concatenation of this string and an unsigned int number. | |
String | operator+ (int number) const |
Returns the concatenation of this string and a signed int number. | |
String | operator+ (char character) const |
Returns the concatenation of this string and a character. | |
String | operator+ (const char *string) const |
Returns the concatenation of this string and another one. | |
String | operator+ (const class String *String) const |
Returns the concatenation of this string and another one. | |
String | operator+ (const class String &String) const |
Returns the concatenation of this string and another one. | |
void | operator+= (bool boolean) |
Adds a boolean string at the end of this string. | |
void | operator+= (unsigned long number) |
Adds an unsigned long number at the end of this string. | |
void | operator+= (long number) |
Adds a signed long number at the end of this string. | |
void | operator+= (unsigned int number) |
Adds an unsigned int number at the end of this string. | |
void | operator+= (int number) |
Adds a signed int number at the end of this string. | |
void | operator+= (char character) |
Adds a character at the end of this string. | |
void | operator+= (const char *string) |
Adds another string at the end of this one. | |
void | operator+= (const class String *String) |
Adds another string at the end of this one. | |
void | operator+= (const class String &String) |
Adds another string at the end of this one. | |
bool | operator< (const char *string) const |
Returns whether this string is less than another one, in terms of the Compare function. | |
bool | operator< (const class String *String) const |
Returns whether this string is less than another one, in terms of the Compare function. | |
bool | operator< (const class String &String) const |
Returns whether this string is less than another one, in terms of the Compare function. | |
bool | operator<= (const char *string) const |
Returns whether this string is less than or equals another one, in terms of the Compare function. | |
bool | operator<= (const class String *String) const |
Returns whether this string is less than or equals another one, in terms of the Compare function. | |
bool | operator<= (const class String &String) const |
Returns whether this string is less than or equals another one, in terms of the Compare function. | |
void | operator= (bool boolean) |
Sets a boolean string into this string. | |
void | operator= (unsigned long number) |
Sets an unsigned long number into this string. | |
void | operator= (long number) |
Sets a signed long number into this string. | |
void | operator= (unsigned int number) |
Sets an unsigned int number into this string. | |
void | operator= (int number) |
Sets a signed int number into this string. | |
void | operator= (char character) |
Sets a character into this string. | |
void | operator= (const char *string) |
Sets another string into this one. | |
void | operator= (const class String *String) |
Sets another string into this one. | |
void | operator= (const class String &String) |
Sets another string into this one. | |
bool | operator== (const char *string) const |
Returns whether this string equals another one, in terms of the Compare function. | |
bool | operator== (const class String *String) const |
Returns whether this string equals another one, in terms of the Compare function. | |
bool | operator== (const class String &String) const |
Returns whether this string equals another one, in terms of the Compare function. | |
bool | operator> (const char *string) const |
Returns whether this string is greater than another one, in terms of the Compare function. | |
bool | operator> (const class String *String) const |
Returns whether this string is greater than another one, in terms of the Compare function. | |
bool | operator> (const class String &String) const |
Returns whether this string is greater than another one, in terms of the Compare function. | |
bool | operator>= (const char *string) const |
Returns whether this string is greater than or equals another one, in terms of the Compare function. | |
bool | operator>= (const class String *String) const |
Returns whether this string is greater than or equals another one, in terms of the Compare function. | |
bool | operator>= (const class String &String) const |
Returns whether this string is greater than or equals another one, in terms of the Compare function. | |
char | operator[] (int index) const |
Returns a character at a given index of the string. | |
void | Prepend (bool boolean) |
Prepends a boolean string at the beginning of this string. | |
void | Prepend (unsigned long number) |
Prepends an unsigned long number at the beginning of this string. | |
void | Prepend (long number) |
Prepends a signed long number at the beginning of this string. | |
void | Prepend (unsigned int number) |
Prepends an unsigned int number at the beginning of this string. | |
void | Prepend (int number) |
Prepends a signed int number at the beginning of this string. | |
void | Prepend (char character) |
Prepends a character at the beginning of this string. | |
void | Prepend (const char *string) |
Prepends another string at the beginning of this one. | |
void | Prepend (const class String *String) |
Prepends another string at the beginning of this one. | |
void | Prepend (const class String &String) |
Prepends another string at the beginning of this one. | |
bool | ReadFrom (FILE *file) |
Reads the contents of a given file into this String, using a buffer. | |
bool | ReadFrom (const char *fileName, bool textMode) |
Reads the contents of a given file into this String, using a buffer. | |
void | Replace (char character, char replacement) |
Finds all occurences of a character in this string and replaces it by another one. | |
void | Replace (const char *text, const char *replacement) |
Finds all occurences of a string in this one and replaces it by another one. | |
void | Replace (const String *Text, const String *Replacement) |
Finds all occurences of a string in this one and replaces it by another one. | |
void | Replace (const String &Text, const String &Replacement) |
Finds all occurences of a string in this one and replaces it by another one. | |
bool | StartsWith (const char *string) const |
Returns whether another string is part of the start of this string. | |
bool | StartsWith (const class String *String) const |
Returns whether another string is part of the start of this string. | |
bool | StartsWith (const class String &String) const |
Returns whether another string is part of the start of this string. | |
bool | StartsWithIC (const char *string) const |
Returns whether another string is part of the start of this string, ignoring the case of the two strings. | |
bool | StartsWithIC (const class String *String) const |
Returns whether another string is part of the start of this string, ignoring the case of the two strings. | |
bool | StartsWithIC (const class String &String) const |
Returns whether another string is part of the start of this string, ignoring the case of the two strings. | |
String (bool boolean) | |
Creates a new string that contains 'true' or 'false'. | |
String (unsigned long number) | |
Creates a new string that contains an unsigned long number. | |
String (long number) | |
Creates a new string that contains an signed long number. | |
String (unsigned int number) | |
Creates a new string that contains an unsigned int number. | |
String (int number) | |
Creates a new string that contains an signed int number. | |
String (char character) | |
Creates a new string that contains one character. | |
String (const char *string, unsigned int fromIndex, unsigned int length) | |
Creates a new string from a substring of another string. | |
String (const class String *String, unsigned int fromIndex, unsigned int length) | |
Creates a new string from a substring of another string. | |
String (const class String &String, unsigned int fromIndex, unsigned int length) | |
Creates a new string from a substring of another string. | |
String (const char *string) | |
Creates a new string from another one. | |
String (const class String *String) | |
Creates a new string from another one. | |
String (const class String &String) | |
Copy constructor: Creates a new string from another one. | |
String () | |
Creates a new empty string. | |
String | Substring (unsigned int fromIndex) const |
Returns a substring of this one. | |
String | Substring (unsigned int fromIndex, unsigned int length) const |
Returns a substring of this one. | |
void | ToLowerCase () |
Converts all upper case characters of this string to lower case. | |
void | ToUpperCase () |
Converts all lower case characters of this string to upper case. | |
void | Trim () |
Removes all white space (space, CR, LF, FF, and tab) from the start and the end of this string, but not in the middle. | |
void | TrimLeft () |
Removes all white space (space, CR, LF, FF, and tab) from the start of this string. | |
void | TrimRight () |
Removes all white space (space, CR, LF, FF, and tab) from the end of this string. | |
bool | WriteTo (FILE *file) |
Writes the contents of this String into a given file. | |
bool | WriteTo (const char *fileName, bool textMode, bool append=false) |
Writes the contents of this String into a given file. | |
~String () | |
Destroys the string, also deleting the Data buffer. | |
Static Public Member Functions | |
int | Compare (const char *string1, const char *string2) |
Compares two strings and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second. | |
int | Compare (const String *String1, const String *String2) |
Compares two strings and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second. | |
int | Compare (const String &String1, const String &String2) |
Compares two strings and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second. | |
int | CompareIC (const char *string1, const char *string2) |
Compares two strings ignoring the case and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second. | |
int | CompareIC (const String *String1, const String *String2) |
Compares two strings ignoring the case and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second. | |
int | CompareIC (const String &String1, const String &String2) |
Compares two strings ignoring the case and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second. | |
bool | IsCharacter (unsigned char character) |
Returns whether a given character is a letter in the ISO-8859-1 encoding. | |
bool | IsDigit (unsigned char character) |
Returns whether a given character is a digit in the ISO-8859-1 encoding. | |
bool | IsLowerCharacter (unsigned char character) |
Returns whether a given character is a lower-case letter in the ISO-8859-1 encoding. | |
bool | IsUpperCharacter (unsigned char character) |
Returns whether a given character is a upper-case letter in the ISO-8859-1 encoding. | |
bool | IsValid (unsigned char character) |
Returns whether a given character is part of the ISO-8859-1 encoding. | |
bool | IsWhiteSpace (unsigned char character) |
Returns whether a given character is white space in the ISO-8859-1 encoding. | |
unsigned char | ToLowerCase (unsigned char character) |
Converts a given character to lower case, if it is an upper case character. | |
unsigned char | ToUpperCase (unsigned char character) |
Converts a given character to upper case, if it is an lower case character. | |
Private Member Functions | |
void | Allocate (unsigned int minimumSize) |
Allocates memory for the Data and sets into this variable. | |
Private Attributes | |
char * | Data |
The buffer that carries the string data. | |
unsigned int | Size |
The size of the allocated buffer 'Data'. |
|
Creates a new empty string.
|
|
Copy constructor: Creates a new string from another one.
|
|
Creates a new string from another one.
|
|
Creates a new string from another one.
|
|
Creates a new string from a substring of another string.
|
|
Creates a new string from a substring of another string.
|
|
Creates a new string from a substring of another string.
|
|
Creates a new string that contains one character.
|
|
Creates a new string that contains an signed int number.
|
|
Creates a new string that contains an unsigned int number.
|
|
Creates a new string that contains an signed long number.
|
|
Creates a new string that contains an unsigned long number.
|
|
Creates a new string that contains 'true' or 'false'.
|
|
Destroys the string, also deleting the Data buffer. So the memory returned by the (const char *) operator must not be accessed anymore after the deletion. |
|
Allocates memory for the Data and sets into this variable. The old pointer is overwritten. The Size is also updated. The method ensures that a given amount of bytes is allocated at least, but the method allocates some more memory to reduce reallocation on string changes.
|
|
Adds a boolean string at the end of this string.
|
|
Adds an unsigned long number at the end of this string.
|
|
Adds a signed long number at the end of this string.
|
|
Adds an unsigned int number at the end of this string.
|
|
Adds a signed int number at the end of this string.
|
|
Adds a character at the end of this string.
|
|
Adds another string at the end of this one.
|
|
Adds another string at the end of this one.
|
|
Adds another string at the end of this one.
|
|
Clears the string, removing the content and setting the length to zero.
|
|
Returns a stack memory clone of this string.
|
|
Compares two strings and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second.
|
|
Compares two strings and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second.
|
|
Compares two strings and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second.
|
|
Compares two strings ignoring the case and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second.
|
|
Compares two strings ignoring the case and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second.
|
|
Compares two strings ignoring the case and returns -1, if the first is less than the second, 0, if both strings are equal and 1, if the first is greater than the second.
|
|
Compares this string to another one and returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the Compare function.
|
|
Compares this string to another one and returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the Compare function.
|
|
Compares this string to another one and returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the Compare function.
|
|
Compares this string to another one ignoring the caseand returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the CompareIC function.
|
|
Compares this string to another one ignoring the caseand returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the CompareIC function.
|
|
Compares this string to another one ignoring the caseand returns -1, if this string is less than the given one, 0, if both strings are equal and 1, if this string is greater than the given one, in terms of the CompareIC function.
|
|
Returns whether another string is contained in this string.
|
|
Returns whether another string is contained in this string.
|
|
Returns whether another string is contained in this string.
|
|
Cuts off a part of the string, starting at a given index. The remaining string will contain the part before the index and the part after the index plus the provided cut length.
|
|
Cuts off a part of the string, starting at a given index. The remaining string will contain the part before the index only.
|
|
Returns whether another string is part of the end of this string.
|
|
Returns whether another string is part of the end of this string.
|
|
Returns whether another string is part of the end of this string.
|
|
Returns whether another string is part of the end of this string, ignoring the case of the two strings.
|
|
Returns whether another string is part of the end of this string, ignoring the case of the two strings.
|
|
Returns whether another string is part of the end of this string, ignoring the case of the two strings.
|
|
Returns whether this string equals another one, in terms of the Compare function.
|
|
Returns whether this string equals another one, in terms of the Compare function.
|
|
Returns whether this string equals another one, in terms of the Compare function.
|
|
Returns whether this string equals another one, in terms of the CompareIC function.
|
|
Returns whether this string equals another one, in terms of the CompareIC function.
|
|
Returns whether this string equals another one, in terms of the CompareIC function.
|
|
Returns the first position of another string in this one, starting from a given position.
|
|
Returns the first position of another string in this one, starting from a given position.
|
|
Returns the first position of another string in this one, starting from a given position.
|
|
Returns the first position of another string in this one.
|
|
Returns the first position of another string in this one.
|
|
Returns the first position of another string in this one.
|
|
Returns the first position of another string in this one, ignoring case, starting from a given position.
|
|
Returns the first position of another string in this one, ignoring case, starting from a given position.
|
|
Returns the first position of another string in this one, ignoring case, starting from a given position.
|
|
Returns the first position of another string in this one, ignoring case.
|
|
Returns the first position of another string in this one, ignoring case.
|
|
Returns the first position of another string in this one, ignoring case.
|
|
Returns the last position of another string in this one, starting from a given position.
|
|
Returns the last position of another string in this one, starting from a given position.
|
|
Returns the last position of another string in this one, starting from a given position.
|
|
Returns the last position of another string in this one.
|
|
Returns the last position of another string in this one.
|
|
Returns the last position of another string in this one.
|
|
Returns the last position of another string in this one, ignoring case, starting from a given position.
|
|
Returns the last position of another string in this one, ignoring case, starting from a given position.
|
|
Returns the last position of another string in this one, ignoring case, starting from a given position.
|
|
Returns the last position of another string in this one, ignoring case.
|
|
Returns the last position of another string in this one, ignoring case.
|
|
Returns the last position of another string in this one, ignoring case.
|
|
Formats a string the same way sprintf does. The result is put into this string.
|
|
Formats a string the same way vsprintf does. The result is put into this string.
|
|
Returns the length of the string.
|
|
Returns a heap memory clone of this string.
|
|
Inserts a boolean string at a given position of this string.
|
|
Inserts an unsigned long number at a given position of this string.
|
|
Inserts a signed long number at a given position of this string.
|
|
Inserts an unsigned int number at a given position of this string.
|
|
Inserts a signed int number at a given position of this string.
|
|
Inserts a character at a given position of this string.
|
|
Inserts another string at a given position of this one.
|
|
Inserts another string at a given position of this one.
|
|
Inserts another string at a given position of this one.
|
|
Returns whether a given character is a letter in the ISO-8859-1 encoding.
|
|
Returns whether a given character is a digit in the ISO-8859-1 encoding.
|
|
Returns whether this string is empty (zero length).
|
|
Returns whether a given character is a lower-case letter in the ISO-8859-1 encoding.
|
|
Returns whether a given character is a upper-case letter in the ISO-8859-1 encoding.
|
|
Returns whether a given character is part of the ISO-8859-1 encoding.
|
|
Returns whether a given character is white space in the ISO-8859-1 encoding.
|
|
Returns a C style string containing the data of this object.
|
|
Returns whether this string does not equal another one, in terms of the Compare function.
|
|
Returns whether this string does not equal another one, in terms of the Compare function.
|
|
Returns whether this string does not equal another one, in terms of the Compare function.
|
|
Returns the concatenation of this string and a boolean string.
|
|
Returns the concatenation of this string and an unsigned long number.
|
|
Returns the concatenation of this string and a signed long number.
|
|
Returns the concatenation of this string and an unsigned int number.
|
|
Returns the concatenation of this string and a signed int number.
|
|
Returns the concatenation of this string and a character.
|
|
Returns the concatenation of this string and another one.
|
|
Returns the concatenation of this string and another one.
|
|
Returns the concatenation of this string and another one.
|
|
Adds a boolean string at the end of this string.
|
|
Adds an unsigned long number at the end of this string.
|
|
Adds a signed long number at the end of this string.
|
|
Adds an unsigned int number at the end of this string.
|
|
Adds a signed int number at the end of this string.
|
|
Adds a character at the end of this string.
|
|
Adds another string at the end of this one.
|
|
Adds another string at the end of this one.
|
|
Adds another string at the end of this one.
|
|
Returns whether this string is less than another one, in terms of the Compare function.
|
|
Returns whether this string is less than another one, in terms of the Compare function.
|
|
Returns whether this string is less than another one, in terms of the Compare function.
|
|
Returns whether this string is less than or equals another one, in terms of the Compare function.
|
|
Returns whether this string is less than or equals another one, in terms of the Compare function.
|
|
Returns whether this string is less than or equals another one, in terms of the Compare function.
|
|
Sets a boolean string into this string.
|
|
Sets an unsigned long number into this string.
|
|
Sets a signed long number into this string.
|
|
Sets an unsigned int number into this string.
|
|
Sets a signed int number into this string.
|
|
Sets a character into this string.
|
|
Sets another string into this one.
|
|
Sets another string into this one.
|
|
Sets another string into this one.
|
|
Returns whether this string equals another one, in terms of the Compare function.
|
|
Returns whether this string equals another one, in terms of the Compare function.
|
|
Returns whether this string equals another one, in terms of the Compare function.
|
|
Returns whether this string is greater than another one, in terms of the Compare function.
|
|
Returns whether this string is greater than another one, in terms of the Compare function.
|
|
Returns whether this string is greater than another one, in terms of the Compare function.
|
|
Returns whether this string is greater than or equals another one, in terms of the Compare function.
|
|
Returns whether this string is greater than or equals another one, in terms of the Compare function.
|
|
Returns whether this string is greater than or equals another one, in terms of the Compare function.
|
|
Returns a character at a given index of the string.
|
|
Prepends a boolean string at the beginning of this string.
|
|
Prepends an unsigned long number at the beginning of this string.
|
|
Prepends a signed long number at the beginning of this string.
|
|
Prepends an unsigned int number at the beginning of this string.
|
|
Prepends a signed int number at the beginning of this string.
|
|
Prepends a character at the beginning of this string.
|
|
Prepends another string at the beginning of this one.
|
|
Prepends another string at the beginning of this one.
|
|
Prepends another string at the beginning of this one.
|
|
Reads the contents of a given file into this String, using a buffer. The previous contents of this String object is cleared in advance.
|
|
Reads the contents of a given file into this String, using a buffer. The previous contents of this String object is cleared in advance.
|
|
Finds all occurences of a character in this string and replaces it by another one.
|
|
Finds all occurences of a string in this one and replaces it by another one.
|
|
Finds all occurences of a string in this one and replaces it by another one.
|
|
Finds all occurences of a string in this one and replaces it by another one.
|
|
Returns whether another string is part of the start of this string.
|
|
Returns whether another string is part of the start of this string.
|
|
Returns whether another string is part of the start of this string.
|
|
Returns whether another string is part of the start of this string, ignoring the case of the two strings.
|
|
Returns whether another string is part of the start of this string, ignoring the case of the two strings.
|
|
Returns whether another string is part of the start of this string, ignoring the case of the two strings.
|
|
Returns a substring of this one.
|
|
Returns a substring of this one.
|
|
Converts a given character to lower case, if it is an upper case character. All other characters are kept untouched.
|
|
Converts all upper case characters of this string to lower case.
|
|
Converts a given character to upper case, if it is an lower case character. All other characters are kept untouched.
|
|
Converts all lower case characters of this string to upper case.
|
|
Removes all white space (space, CR, LF, FF, and tab) from the start and the end of this string, but not in the middle.
|
|
Removes all white space (space, CR, LF, FF, and tab) from the start of this string.
|
|
Removes all white space (space, CR, LF, FF, and tab) from the end of this string.
|
|
Writes the contents of this String into a given file.
|
|
Writes the contents of this String into a given file.
|
|
The buffer that carries the string data. The string is always 0 terminated. The size of the allocated memory is contained in the Size attribute. Because the buffer contains the 0 character, it is always larger than the string length. |
|
The size of the allocated buffer 'Data'.
|