From 6289ed7f9875ea3790fba3b7d76ee1814212af49 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Wed, 9 Jun 2010 20:42:46 +0000 Subject: [PATCH] Trim the correct string. Fixes #3860 [SVN r62692] --- string/doc/usage.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string/doc/usage.xml b/string/doc/usage.xml index d971102..2dafad4 100644 --- a/string/doc/usage.xml +++ b/string/doc/usage.xml @@ -169,7 +169,7 @@ string str1=" hello world! "; string str2=trim_left_copy(str1); // str2 == "hello world! " - string str3=trim_right_copy(str2); // str3 == " hello world!" + string str3=trim_right_copy(str1); // str3 == " hello world!" trim(str1); // str1 == "hello world!" string phone="00423333444";