Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
String.h File Reference
#include "Poco/Foundation.h"
#include "Poco/Ascii.h"
#include <cstring>
#include <algorithm>
+ Include dependency graph for String.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Poco::i_char_traits< charT >
 
struct  Poco::CILess
 

Namespaces

namespace  Poco
 

Typedefs

typedef std::basic_string< char, i_char_traits< char > > Poco::istring
 

Functions

template<class S >
Poco::trimLeft (const S &str)
 
template<class S >
S & Poco::trimLeftInPlace (S &str)
 Removes all leading whitespace in str.
 
template<class S >
Poco::trimRight (const S &str)
 
template<class S >
S & Poco::trimRightInPlace (S &str)
 Removes all trailing whitespace in str.
 
template<class S >
Poco::trim (const S &str)
 
template<class S >
S & Poco::trimInPlace (S &str)
 Removes all leading and trailing whitespace in str.
 
template<class S >
Poco::toUpper (const S &str)
 Returns a copy of str containing all upper-case characters.
 
template<class S >
S & Poco::toUpperInPlace (S &str)
 Replaces all characters in str with their upper-case counterparts.
 
template<class S >
Poco::toLower (const S &str)
 Returns a copy of str containing all lower-case characters.
 
template<class S >
S & Poco::toLowerInPlace (S &str)
 Replaces all characters in str with their lower-case counterparts.
 
template<class S , class It >
int Poco::icompare (const S &str, typename S::size_type pos, typename S::size_type n, It it2, It end2)
 Case-insensitive string comparison.
 
template<class S >
int Poco::icompare (const S &str1, const S &str2)
 
template<class S >
int Poco::icompare (const S &str1, typename S::size_type n1, const S &str2, typename S::size_type n2)
 
template<class S >
int Poco::icompare (const S &str1, typename S::size_type n, const S &str2)
 
template<class S >
int Poco::icompare (const S &str1, typename S::size_type pos, typename S::size_type n, const S &str2)
 
template<class S >
int Poco::icompare (const S &str1, typename S::size_type pos1, typename S::size_type n1, const S &str2, typename S::size_type pos2, typename S::size_type n2)
 
template<class S >
int Poco::icompare (const S &str1, typename S::size_type pos1, typename S::size_type n, const S &str2, typename S::size_type pos2)
 
template<class S >
int Poco::icompare (const S &str, typename S::size_type pos, typename S::size_type n, const typename S::value_type *ptr)
 
template<class S >
int Poco::icompare (const S &str, typename S::size_type pos, const typename S::value_type *ptr)
 
template<class S >
int Poco::icompare (const S &str, const typename S::value_type *ptr)
 
template<class S >
Poco::translate (const S &str, const S &from, const S &to)
 
template<class S >
Poco::translate (const S &str, const typename S::value_type *from, const typename S::value_type *to)
 
template<class S >
S & Poco::translateInPlace (S &str, const S &from, const S &to)
 
template<class S >
Poco::translateInPlace (S &str, const typename S::value_type *from, const typename S::value_type *to)
 
template<class S >
S & Poco::replaceInPlace (S &str, const S &from, const S &to, typename S::size_type start=0)
 
template<class S >
S & Poco::replaceInPlace (S &str, const typename S::value_type *from, const typename S::value_type *to, typename S::size_type start=0)
 
template<class S >
S & Poco::replaceInPlace (S &str, const typename S::value_type from, const typename S::value_type to=0, typename S::size_type start=0)
 
template<class S >
S & Poco::removeInPlace (S &str, const typename S::value_type ch, typename S::size_type start=0)
 
template<class S >
Poco::replace (const S &str, const S &from, const S &to, typename S::size_type start=0)
 
template<class S >
Poco::replace (const S &str, const typename S::value_type *from, const typename S::value_type *to, typename S::size_type start=0)
 
template<class S >
Poco::replace (const S &str, const typename S::value_type from, const typename S::value_type to=0, typename S::size_type start=0)
 
template<class S >
Poco::remove (const S &str, const typename S::value_type ch, typename S::size_type start=0)
 
template<class S >
Poco::cat (const S &s1, const S &s2)
 Concatenates two strings.
 
template<class S >
Poco::cat (const S &s1, const S &s2, const S &s3)
 Concatenates three strings.
 
template<class S >
Poco::cat (const S &s1, const S &s2, const S &s3, const S &s4)
 Concatenates four strings.
 
template<class S >
Poco::cat (const S &s1, const S &s2, const S &s3, const S &s4, const S &s5)
 Concatenates five strings.
 
template<class S >
Poco::cat (const S &s1, const S &s2, const S &s3, const S &s4, const S &s5, const S &s6)
 Concatenates six strings.
 
template<class S , class It >
Poco::cat (const S &delim, const It &begin, const It &end)
 
template<class S >
bool Poco::startsWith (const S &str, const S &prefix)
 Tests whether the string starts with the given prefix.
 
template<class S >
bool Poco::endsWith (const S &str, const S &suffix)
 Tests whether the string ends with the given suffix.
 
template<typename T >
std::size_t Poco::isubstr (const T &str, const T &sought)
 Case-insensitive std::string counterpart.