Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[S32/Str] mention trim-leading and trim-trailing

  • Loading branch information...
commit eb7089a2889b0026fa77b3eee6bb4db453b4edbb 1 parent 1d76a26
@masak masak authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 S32-setting-library/Str.pod
View
6 S32-setting-library/Str.pod
@@ -552,9 +552,15 @@ string variable:
=item trim
multi method trim() is export;
+ multi method trim-leading() is export;
+ multi method trim-trailing() is export;
Returns a copy of the string, with leading and trailing whitespace removed.
+The variants C<trim-leading> and C<trim-trailing> also return a copy of the
+string, but with whitespace removed only at their respective end of the
+string.
+
=item unpack
=item match
Please sign in to comment.
Something went wrong with that request. Please try again.