Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mentioning Proxy in Str.substr-rw
  • Loading branch information
gfldex committed Jul 11, 2016
1 parent df30b11 commit 6a592c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Type/Str.pod6
Expand Up @@ -682,10 +682,10 @@ Also using a different value or an incorrect starting index won't match:
method substr-rw($from, $length?)
A version of C<substr> that returns a writable reference to a part of a
string variable. Its first argument, C<$from> specifies the index in the
string from which a substitution should occur, and its last argument,
C<$length> specifies how many characters are to be replaced.
A version of C<substr> that returns a L<Proxy|/type/Proxy> functioning as a
writable reference to a part of a string variable. Its first argument, C<$from>
specifies the index in the string from which a substitution should occur, and
its last argument, C<$length> specifies how many characters are to be replaced.
For example, in its method form, if one wants to take the string C<"abc">
and replace the second character (at index 1) with the letter C<"z">, then
Expand Down

0 comments on commit 6a592c2

Please sign in to comment.