Remove all space characters from the string beginning and end.
You can find more information in comments below.
/**
Remove spaces both at the beginning and at the end of string
@param[in, out] str String where to search and remove spaces
@param local Locale used for search. Default is current locale
*/
void TrimDirect(String &str, const std::locale &locale = std::locale());
/**
Remove spaces both at the beginning and at the end of ANSI string
@param[in, out] str String where to search and remove spaces
@param local Locale used for search. Default is current locale
*/
void TrimDirect(AnsiString &str, const std::locale &locale = std::locale());
Namespace: | nitisa |
Include: | Nitisa/Core/Strings.h |