mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-30 04:27:16 +02:00
@ -169,7 +169,7 @@
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
string str1=" hello world! ";
|
string str1=" hello world! ";
|
||||||
string str2=trim_left_copy(str1); // str2 == "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!"
|
trim(str1); // str1 == "hello world!"
|
||||||
|
|
||||||
string phone="00423333444";
|
string phone="00423333444";
|
||||||
|
Reference in New Issue
Block a user