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