#include <iterator>
#include <algorithm>
#include <functional>
#include <cctype>
#include <vector>
#include "fmt/format.h"
#include "fmt/printf.h"
#include "Exceptions.h"
Go to the source code of this file.
◆ FMT_HEADER_ONLY
◆ endswith()
bool endswith |
( |
const std::string & |
s1, |
|
|
const std::string & |
s2 |
|
) |
| |
|
inline |
Simple string function to check for end of string being equal to given string.
Definition at line 65 of file CPstrings.h.
◆ format()
std::string format |
( |
const char * |
format, |
|
|
fmt::ArgList |
args |
|
) |
| |
|
inline |
◆ lower()
std::string lower |
( |
std::string |
str | ) |
|
|
inline |
◆ string2double()
double string2double |
( |
const std::string & |
s | ) |
|
|
inline |
Convert a number encoded as a string to a double.
- Parameters
-
s | The string to be converted |
- Note
Definition at line 116 of file CPstrings.h.
◆ StringToWString()
void StringToWString |
( |
const std::string & |
s, |
|
|
std::wstring & |
ws |
|
) |
| |
|
inline |
◆ strjoin()
std::string strjoin |
( |
const std::vector< std::string > & |
strings, |
|
|
const std::string & |
delim |
|
) |
| |
◆ strlstrip()
std::string& strlstrip |
( |
std::string & |
s | ) |
|
|
inline |
◆ strrstrip()
std::string& strrstrip |
( |
std::string & |
s | ) |
|
|
inline |
◆ strsplit()
std::vector<std::string> strsplit |
( |
const std::string & |
s, |
|
|
char |
del |
|
) |
| |
◆ strstartswith()
bool strstartswith |
( |
const std::string & |
s, |
|
|
const std::string & |
other |
|
) |
| |
|
inline |
A convenience function that return true if a string begins with the given other string.
Definition at line 106 of file CPstrings.h.
◆ strstrip()
std::string& strstrip |
( |
std::string & |
s | ) |
|
|
inline |
◆ upper()
std::string upper |
( |
std::string |
str | ) |
|
|
inline |