Author: moritz
Date: 2009-04-03 00:48:07 +0200 (Fri, 03 Apr 2009)
New Revision: 26063

Modified:
   docs/Perl6/Spec/S32-setting-library/Str.pod
Log:
[S32/Str] spec Str.trim()


Modified: docs/Perl6/Spec/S32-setting-library/Str.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Str.pod 2009-04-02 21:25:39 UTC (rev 
26062)
+++ docs/Perl6/Spec/S32-setting-library/Str.pod 2009-04-02 22:48:07 UTC (rev 
26063)
@@ -501,12 +501,20 @@
 If the replacement string is longer or shorter than the matched sub-string,
 then the original string will be dynamically resized.
 
+=item trim
+
+  multi method trim() is export;
+
+Returns a copy of the string, with leading and trailing whitespaces removed.
+
 =item unpack
 
 =item match
 
  method Match match(Str $self: Regex $search);
 
+See L<S05/Substitution>
+
 =item subst
 
  method Str subst(Str $self: Regex $search, Str $replacement);

Reply via email to