Name
substr
Synopsis
substrDEST
,STRING
,OFFSET
substrDEST
,STRING
,OFFSET
,LENGTH
Return a substring of STRING
, beginning at
OFFSET
and with length
LENGTH
.
Arguments: SR, S, I or SR, S, I, I or SR, P, I, I
-
substr
DEST
,STRING
,OFFSET
,LENGTH
,REPLACE
If
REPLACE
is given, use it to replace the returned substring inSTRING
.Arguments: SR, S, I, I, S
-
substr
DEST
,OFFSET
,LENGTH
,REPLACE
If
STRING
is omitted, operate on the string inDEST
.Arguments: SR, I, I, S
Get Perl 6 and Parrot Essentials, Second Edition 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.