O'Reilly logo

Perl 6 Essentials by Leopold Tötsch, Dan Sugalski, Allison Randal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

substr

Synopsis

substr DEST, STRING, OFFSET, LENGTH
substr DEST, STRING, OFFSET, LENGTH, REPLACE 
substr DEST, 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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required