Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
string_util.cpp File Reference
#include "string_util.h"
#include <algorithm>
Include dependency graph for string_util.cpp:

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.