Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-08-27 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (383 votes). Check out past polls.