Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
string_util.h File Reference
#include <functional>
#include <string>
Include dependency graph for string_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hgps::core::case_insensitive
 Case-insensitive operations on ASCII strings. More...
 
struct  hgps::core::case_insensitive::comparator
 Case-insensitive ASCII strings comparator structure. More...
 

Namespaces

namespace  hgps
 Top-level namespace for Health-GPS Console host application.
 
namespace  hgps::core
 Top-level namespace for Health-GPS Core C++ API.
 

Functions

std::string hgps::core::trim (std::string value) noexcept
 Trim leading and trailing occurrences of white-space characters from string.
 
std::string hgps::core::to_lower (const std::string_view &value) noexcept
 Converts the given ASCII string to lower-case.
 
std::string hgps::core::to_upper (const std::string_view &value) noexcept
 Converts the given ASCII string to upper-case.
 
std::vector< std::string_view > hgps::core::split_string (const std::string_view &value, std::string_view delims) noexcept
 Splits a string into substrings based on specified delimiting characters.