Trim the correct string. Fixes #3860

[SVN r62692]
This commit is contained in:
Steven Watanabe
2010-06-09 20:42:46 +00:00
parent 8e97668b1f
commit 6289ed7f98

View File

@ -169,7 +169,7 @@
<programlisting>
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";