Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
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 );


Comment on Re^2: accessing a part of a string
Select or Download Code

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 chanting in the Monastery: (9)
As of 2014-04-23 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (554 votes), past polls