substr documentation in perldoc
- From: "Athanasius" <Athanasius@invalid>
- Date: Thu, 3 May 2012 16:24:02 +1000
Hi,
Searching perldoc (Perl 5 version 14.1) for the built-in 'substr' function gives:
substr EXPR,OFFSET,LENGTH,REPLACEMENT
substr EXPR,OFFSET,LENGTH
substr EXPR,OFFSET
Extracts a substring out of EXPR and returns it. First character is at offset 0 ...
Is "0" a typo for "OFFSET" -- that is, should the first sentence be: "First character is at offset OFFSET..." -- or am I just confused?
Thanks,
Athanasius <°(((>< contra mundum
.
- Follow-Ups:
- Re: substr documentation in perldoc
- From: Jürgen Exner
- Re: substr documentation in perldoc
- From: Owen
- Re: substr documentation in perldoc
- Prev by Date: Re: Why does this code works without cat ?
- Next by Date: Re: substr documentation in perldoc
- Previous by thread: Re: Why does this code works without cat ?
- Next by thread: Re: substr documentation in perldoc
- Index(es):
Relevant Pages
|