Skip to content

Commit

Permalink
Merge pull request #2218 from Xliff/xliff-patch-20180725
Browse files Browse the repository at this point in the history
Xliff patch 20180725
  • Loading branch information
zoffixznet committed Jul 25, 2018
2 parents 5a04e5d + 09cacab commit 2d0c5a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Type/Str.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -1042,12 +1042,13 @@ Also using a different value or an incorrect starting index won't match:
=head2 method substr-rw
method substr-rw($from, $length?)
method substr-rw($from, $length = *)
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.
If not specified, C<$length> defaults to the length of the string.
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 2d0c5a2

Please sign in to comment.