Name
substr
Synopsis
substrDEST
,STRING
,OFFSET
,LENGTH
substrDEST
,STRING
,OFFSET
,LENGTH
,REPLACE
substrDEST
,OFFSET
,LENGTH
,REPLACE
Return a substring of a string. If REPLACE
is given, also replace substring in
STRING
. If
STRING
is left out, replace substring in
DEST
.
Get Perl 6 Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.