DART 6.13.2
Loading...
Searching...
No Matches
String.hpp File Reference
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::common
 

Functions

std::string dart::common::toUpper (std::string str)
 Converts string to upper cases.
 
void dart::common::toUpperInPlace (std::string &str)
 Converts string to upper cases in place.
 
std::string dart::common::toLower (std::string str)
 Converts string to lower cases.
 
void dart::common::toLowerInPlace (std::string &str)
 Converts string to lower cases in place.
 
std::string dart::common::trim (const std::string &str, const std::string &whitespaces=" \n\r\t")
 Trims both sides of string.
 
std::string dart::common::trimLeft (const std::string &str, const std::string &whitespaces=" \n\r\t")
 Trims left side of string.
 
std::string dart::common::trimRight (const std::string &str, const std::string &whitespaces=" \n\r\t")
 Trims right side of string.
 
std::vector< std::string > dart::common::split (const std::string &str, const std::string &delimiters=" \n\r\t")
 Splits string given delimiters.