10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
StringUtils.h
1
#ifndef TENDUKE_UTL_STRINGUTILS_H
2
#define TENDUKE_UTL_STRINGUTILS_H
3
4
#include <string>
5
6
namespace
tenduke
{
namespace
utl
{
7
14
std::string
toLowerCaseASCII
(
const
std::string &
string
);
15
16
namespace
string
{
17
18
std::wstring convertUTF8ToWString(
const
std::string &utf8EncodedString);
19
std::string convertWStringToUTF8(
const
wchar_t
*utf16EncodedString,
size_t
length);
20
27
bool
endsWith
(
28
const
std::string &
string
,
29
const
std::string &suffix
30
);
31
38
bool
startsWith
(
39
const
std::string &
string
,
40
const
char
*prefix
41
);
42
}
43
44
}}
45
46
#endif
//TENDUKE_UTL_STRINGUTILS_H
tenduke::utl::string
String-utilities.
Definition
StringUtils.h:16
tenduke::utl::string::startsWith
bool startsWith(const std::string &string, const char *prefix)
Checks if string starts with given suffix.
Definition
StringUtils.cpp:22
tenduke::utl::string::endsWith
bool endsWith(const std::string &string, const std::string &suffix)
Checks if string ends with given suffix.
Definition
StringUtils.cpp:10
tenduke::utl
Utilities.
Definition
Base64Decoder.h:10
tenduke::utl::toLowerCaseASCII
std::string toLowerCaseASCII(const std::string &string)
Returns a copy of provided ASCII-string converted to lower-case.
Definition
StringUtils.cpp:41
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
utl
StringUtils.h
Generated by
1.17.0