Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: String matching problem

by cool (Scribe)
on May 08, 2007 at 14:13 UTC ( #614144=note: print w/replies, xml ) Need Help??


in reply to Re: String matching problem
in thread String matching problem

Actually its second last character not the last one... so I think

substr($string, -2, 1)

would be more appropriate

Replies are listed 'Best First'.
Re^3: String matching problem
by megaurav2002 (Monk) on May 09, 2007 at 00:55 UTC
    Actually its the last character. I used double codes to just suggest that its a string. Thanks everyone for the help!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-02-24 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (104 votes). Check out past polls.

    Notices?