[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: going OT: moving to perl



On Sat, Jul 06, 2002 at 11:29:40PM -0100, andrej hocevar wrote:
> Frankly, it's just a quick question: in perl, is there a way of
> doing something like ${var:x:y}, x and y being numbers, the starting
> point and the lenght to be printed?

You mean something like 'substr($var, $x, $y)', I think.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: