--- a/sources/mystring.cpp Wed May 27 21:15:52 2015 +0300 +++ b/sources/mystring.cpp Sat Jan 09 02:20:28 2016 +0200 @@ -495,3 +495,12 @@ else if (a != 0 or b != length() - 1) m_string = m_string.substr (a, b - a + 1); } + +// ------------------------------------------------------------------------------------------------- +// +String String::normalized (int (*filter)(int)) const +{ + String result = *this; + result.normalize(filter); + return result; +}