strncmp | |
Compare the first maxcmp characters of two strings.
Overloaded strncmp functions: | |
int | strncmp (const std::string &s1, const char *s2, size_t maxcmp) |
Compare a string with a char*. More... | |
int | strncmp (const char *s1, const std::string &s2, size_t maxcmp) |
Compare a char* with a string. More... | |
int | strncmp (const std::string &s1, const std::string &s2, size_t maxcmp) |
Compare a string with a string. More... | |
strnicmp | |
Compare the first maxcmp characters of two strings (not case-sensitive)
Overloaded strnicmp functions: | |
int | strnicmp (const char *s1, const char *s2, size_t maxcmp) |
Compare a string with a char*. More... | |
int | strnicmp (const std::string &s1, const char *s2, size_t maxcmp) |
Compare a string with a char*. More... | |
int | strnicmp (const char *s1, const std::string &s2, size_t maxcmp) |
Compare a char* with a string. More... | |
int | strnicmp (const std::string &s1, const std::string &s2, size_t maxcmp) |
Compare a string with a string. More... | |
stricmp | |
Compare two strings or char* (not case-sensitive)
Overloaded stricmp functions: | |
int | stricmp (const char *s1, const char *s2) |
Compare a string with a char*. More... | |
int | stricmp (const std::string &s1, const char *s2) |
Compare a string with a char*. More... | |
int | stricmp (const char *s1, const std::string &s2) |
Compare a char* with a string. More... | |
int | stricmp (const std::string &s1, const std::string &s2) |
Compare a string with a string. More... | |
strscmp | |
Compare the start of two strings or char*
Overloaded strscmp functions: | |
int | strscmp (const char *s1, const char *s2) |
Compare a string with a char*. More... | |
int | strscmp (const std::string &s1, const char *s2) |
Compare a string with a char*. More... | |
int | strscmp (const char *s1, const std::string &s2) |
Compare a char* with a string. More... | |
int | strscmp (const std::string &s1, const std::string &s2) |
Compare a string with a string. More... | |
strsicmp | |
Compare the start of two strings or char* (not case-sensitive)
Overloaded strsicmp functions: | |
int | strsicmp (const char *s1, const char *s2) |
Compare a string with a char*. More... | |
int | strsicmp (const std::string &s1, const char *s2) |
Compare a string with a char*. More... | |
int | strsicmp (const char *s1, const std::string &s2) |
Compare a char* with a string. More... | |
int | strsicmp (const std::string &s1, const std::string &s2) |
Compare a string with a string. More... | |
strichr | |
case-insensitive strchr
Overloaded strichr functions: | |
const char * | strichr (const char *haystack, char needle) |
case-insensitive strchr. More... | |
char * | strichr (char *haystack, char needle) |
non-const version. More... | |
stristr | |
case-insensitive strstr
Overloaded stristr functions: | |
const char * | stristr (const char *haystack, const char *needle) |
case-insensitive strstr. More... | |
char * | stristr (char *haystack, const char *needle) |
non-const version. More... | |
strlwr/strupr | |
change case of string
Overloaded strlwr/strupr functions: | |
void | strlwr (char *s) |
change case of char* to lower. More... | |
void | strlwr (std::string &s) |
change case of string to lower. More... | |
void | strupr (char *s) |
change case of char* to upper. More... | |
void | strupr (std::string &s) |
change case of string to upper. More... | |
Functions | |
string | vstrf (const char *format, va_list argPtr) |
Create a string via a printf-like format string. More... | |
string | strf (const char *format,...) |
Create a string via a printf-like format string. More... | |
std::string | cropString (const std::string &s) |
Remove spaces at start and end of string. More... | |
char * | strdup (const std::string &s) |
Create a malloc-copy from a string. More... |
|
Create a string via a printf-like format string.
Definition at line 38 of file Tools.cpp. Referenced by strf(). |
|
Create a string via a printf-like format string.
Definition at line 65 of file Tools.cpp. Referenced by rs::user::ask_number(), rs::user::choose(), Inifile::expectSection(), FilterArguments::FilterArguments(), Section::findOrCreateEntry(), RepeatedCmdLineArgumentOption::get_name(), rs::posix::getcwd(), Entry::getIntegerContent(), Entry::getNumericContent(), rs::handle_exception(), rs::file::loadDirectories(), rs::file::scanDir_internal(), ProgramInfo::setProgramPaths(), FilePosition::throw_Error(), Section::throw_Error(), and Entry::throw_Error(). |
|
Remove spaces at start and end of string.
|
|
Create a malloc-copy from a string.
|
|
Compare a string with a char*.
|
|
Compare a char* with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a char*.
Definition at line 152 of file Tools.h. Referenced by stricmp(), stristr(), strnicmp(), and strsicmp(). |
|
Compare a string with a char*. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a char* with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a char*.
Definition at line 218 of file Tools.h. Referenced by ProgramInfo::init(), and stricmp(). |
|
Compare a string with a char*. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a char* with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a char*. same as strncmp (with the length of the shorter string)
Definition at line 288 of file Tools.h. Referenced by strscmp(). |
|
Compare a string with a char*. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a char* with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a char*. same as strnicmp (with the length of the shorter string)
Definition at line 354 of file Tools.h. Referenced by strsicmp(). |
|
Compare a string with a char*. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a char* with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
Compare a string with a string. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
case-insensitive strchr.
|
|
non-const version. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
case-insensitive strstr.
Definition at line 451 of file Tools.h. Referenced by stristr(). |
|
non-const version. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
change case of char* to lower.
|
|
change case of string to lower. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
change case of char* to upper.
|
|
change case of string to upper. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
Contact me in case of errors or questions. This documentation is powered by . |
(C) 2000-2002 |