sources/mystring.cpp

branch
protocol5
changeset 103
b78c0ca832a9
parent 84
3bd32eec3d57
child 106
7b156b764d11
--- 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;
+}

mercurial