stlsoft/string/trim_functions.hpp File Reference


Detailed Description

[C++ only] String utility functions for trimming and removing string contents (String Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/string/string_traits.hpp>
#include <stlsoft/shims/access/string.hpp>
#include <algorithm>
#include <functional>
#include <string.h>
#include <wchar.h>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Functions

template<typename S>
S & trim_left (S &str)
 Trims all the leading whitespace characters, if any, from a string.
template<typename S0, typename S1>
S0 & trim_left (S0 &str, S1 const &trimChars)
template<typename S>
S & trim_right (S &str)
 Trims all the trailing whitespace characters, if any, from a string.
template<typename S0, typename S1>
S0 & trim_right (S0 &str, S1 const &trimChars)
template<typename S>
S & trim_all (S &str)
 Trims all the leading and trailing whitespace characters, if any, from a string.
template<typename S0, typename S1>
S0 & trim_all (S0 &str, S1 const &trimChars)
template<typename S>
S & remove_all (S &str)
template<typename S0, typename S1>
S0 & remove_all (S0 &str, S1 const &removeChars)


Generated on Thu Jun 10 08:58:11 2010 for STLSoft by  doxygen 1.5.6