Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: accessing a part of a string

by Eliya (Vicar)
on May 18, 2012 at 11:30 UTC ( #971282=note: print w/ replies, xml ) Need Help??


in reply to Re: accessing a part of a string
in thread accessing a part of a string

substr( $string, 0, length($string) - 6 );

can also be written as

substr( $string, 0, -6 );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://971282]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2016-06-27 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (335 votes). Check out past polls.