You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Type/Str.pod
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -681,6 +681,28 @@ Example:
681
681
682
682
"aå«".ords # (97 229 171)
683
683
684
+
=head2method trans
685
+
686
+
Replaces one or many substrings with one or many strings. Ranges are supported, both for keys and values. Regexes work as keys. When called with C<:complemet> anything but the matched value or range is replaced with a single value. With C<:delete> the matched characters are removed. Combining C<:complement> and C<:delete> will remove anything but the mached values. The adverb C<:squash> will reduce repeated matched characters to a single character.
0 commit comments