Remove all space characters from the string end.
You can find more information in comments below.
/**
Remove spaces 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 TrimRightDirect(String &str, const std::locale &locale = std::locale());
/**
Remove spaces 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 TrimRightDirect(AnsiString &str, const std::locale &locale = std::locale());
Namespace: | nitisa |
Include: | Nitisa/Core/Strings.h |