Login Languish
Functions
string_utils.cpp File Reference

handles string-related tasks More...

#include "string_utils.h"
Include dependency graph for string_utils.cpp:

Functions

std::string string_utils::toLowerCase (std::string str)
 lowercase string converter More...
 
std::string string_utils::toTitleCase (std::string str)
 title case string converter More...
 

Detailed Description

handles string-related tasks

Author
Cameron Bruce, Jack Searle

Function Documentation

◆ toLowerCase()

std::string string_utils::toLowerCase ( std::string  str)

lowercase string converter

converts any string to lowercase

Parameters
strstring to be converted
Returns
the converted lowercase string

◆ toTitleCase()

std::string string_utils::toTitleCase ( std::string  str)

title case string converter

converts any string to title case (capitalised first letter)

Parameters
strstring to be converted
Returns
the converted title case string