class is a collection of static utility methods for operating on strings.
|
Static Public Member Functions |
| static void | trace (const VCF::String &text) |
| | outputs the text to the debugger output
|
| static VCF::String | trimLeft (const VCF::String &text, const char &c) |
| | trim all the occurrences of a specified character at the beginning of the string until it is met the first character from the left that is different
|
| static VCF::String | trimRight (const VCF::String &text, const char &c) |
| | trim all the occurrences of a specified character at the end of the string until it is met the first character from the right that is different
|
| static VCF::String | trim (const VCF::String &text, const char &c) |
| | trim all the occurrences of a specified character at the beginning and the end of the string i.e.
|
| static void | trimWhiteSpacesLeft (VCF::String &text) |
| | trim all the occurrences of any <space>, <tab>, <CR> and <LF> at the beginning of the string until it is met the first character from the left that is not a whitespace one
|
| static void | trimWhiteSpacesRight (VCF::String &text) |
| | trim all the occurrences of any <space>, <tab>, <CR> and <LF> at the end of the string until it is met the first character from the right that is not a whitespace one
|
| static void | trimWhiteSpaces (VCF::String &text) |
| | trim all the occurrences of any <<space>, <tab>, <CR> and <LF> at the beginning and the end of the string i.e.
|
| static String | eraseLeftOfChar (const String &s, const VCFChar &ch, const bool &included=false, const int &count=1) |
| | gets a copy of the string that is having erased all its characters on the left of the count-th occurrence of the character ch.
|
| static String | eraseRightOfChar (const String &s, const VCFChar &ch, const bool &included=false, const int &count=1) |
| | gets a copy of the string that is having erased all its characters on the right of the count-th occurrence of the character ch.
|
| static VCF::String | lowerCase (const VCF::String &text) |
| | converts the string to lower case
|
| static VCF::String | upperCase (const VCF::String &text) |
| | converts the string to upper case
|
| static int | noCaseCompare (const VCF::String &str1, const VCF::String &str2) |
| | Performs a case insensitive string compare between str1 and str2.
|
| static VCF::String | toStringFromHexNumber (const uchar &value) |
| | converts the value to a string
|
| static VCF::String | toString (const int &value) |
| | converts the value to a string
|
| static VCF::String | toString (const VCF::uint32 &value) |
| | converts the value to a string
|
| static VCF::String | toString (const long &value) |
| | converts the value to a string
|
| static VCF::String | toString (const unsigned long &value) |
| | converts the value to a string
|
| static VCF::String | toString (const VCF::int64 &value) |
| | converts the value to a string
|
| static VCF::String | toString (const VCF::uint64 &value) |
| | converts the value to a string
|
| static VCF::String | toString (const float &value) |
| | converts the value to a string
|
| static VCF::String | toString (const double &value) |
| | converts the value to a string
|
| static VCF::String | toString (const char &value) |
| | converts the value to a string
|
| static VCF::String | toString (const bool &value) |
| | converts the value to a string
|
| static VCF::String | toString (const VariantData &value) |
| | Converts a VariantData instance to a string.
|
| static int | fromStringAsHexNumber (const VCF::String &value) |
| | converts the value to an hexadecimal number
|
| static VCF::int32 | fromStringAsInt (const VCF::String &value) |
| | converts the value to an int
|
| static VCF::uint32 | fromStringAsUInt (const VCF::String &value) |
| | converts the value to an unsigned integer
|
| static long | fromStringAsLong (const VCF::String &value) |
| | converts the value to a long
|
| static unsigned long | fromStringAsULong (const VCF::String &value) |
| | converts the value to an unsigned long
|
| static VCF::int64 | fromStringAsInt64 (const VCF::String &value) |
| | converts the value to a 64 bit signed integer
|
| static VCF::uint64 | fromStringAsUInt64 (const VCF::String &value) |
| | converts the value to a 64 bit unsigned integer
|
| static float | fromStringAsFloat (const VCF::String &value) |
| | converts the value to an int
|
| static double | fromStringAsDouble (const VCF::String &value) |
| | converts the value to an int
|
| static char | fromStringAsChar (const VCF::String &value) |
| | converts the value to an int
|
| static short | fromStringAsShort (const VCF::String &value) |
| | converts the value to an int
|
| static bool | fromStringAsBool (const VCF::String &value) |
| | converts the value to an int
|
| static VCF::String | newUUID () |
| | generates a new UUID and returns the string representation
|
| static VCF::String | getClassNameFromTypeInfo (const std::type_info &typeInfo) |
| | gets the class name from a type_info struct.
|
| static VCF::String | toString (const std::type_info &typeInfo) |
| | Converts a typeinfo to a string.
|
| static VCF::String | format (const DateTime &date, const String &formatting) |
| | Formats a string from date time object using the various argument/formatting tags in the formatting string.
|
| static VCF::String | convertFormatString (const String &formattedString) |
| | This functions is used to change, if neccessary, a format string to one accceptable for the native platforms string formatting routines.
|
| static VCF::String | translateVKCodeToString (VirtualKeyCode code) |
| | Translate a VirtualKey code into a human readable string.
|
Static Protected Attributes |
| static String | weekdays [] |
| static String | abbrevWeekdays [] |
| static String | months [] |
| static String | abbrevMonths [] |
class is a collection of static utility methods for operating on strings.