Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added usage and examples for lc() in Str.pod
  • Loading branch information
dha committed Oct 2, 2015
1 parent 6564ace commit 5d17958
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/Type/Str.pod
Expand Up @@ -26,11 +26,22 @@ Returns the string with a logical newline removed from the end.
=head2 routine lc
Defined as:
multi sub lc(Str:D ) returns Str:D
multi method lc(Str:D:) returns Str:D
Usage:
lc($string);
$string.lc;
Returns a lower-case version of the string.
Examples:
lc("A"); # returns "a"
"A".lc # returns "a"
=head2 routine uc
multi sub uc(Str:D ) returns Str:D
Expand Down

0 comments on commit 5d17958

Please sign in to comment.