FOSSredder 0.5.0
Loading...
Searching...
No Matches
StringUtils.h File Reference

Declares private string helpers shared across core implementation files. More...

#include <string>
#include <vector>
Include dependency graph for StringUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  core
namespace  core::utils

Functions

std::string core::utils::trim (std::string s)
 Removes leading and trailing ASCII whitespace from a string.
std::string core::utils::lowerAscii (std::string s)
 Converts ASCII letters in a string to lowercase.
std::string core::utils::collapseWhitespace (std::string s)
 Collapses consecutive whitespace to single spaces and trims the result.
std::vector< std::string > core::utils::splitWhitespace (const std::string &s)
 Splits a string on ASCII whitespace.

Detailed Description

Declares private string helpers shared across core implementation files.

Definition in file StringUtils.h.