Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Answer: How do I get the Nth Character of a String?

by I0 (Priest)
on Jan 20, 2001 at 10:58 UTC ( [id://53188]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I get the Nth Character of a String?
in thread How do I get the Nth Character of a String?

chr vec $_[0],$_[1]-1,8; #is slightly faster
(but you should also think about why you want to do this, perhaps you're approaching the problem in a Cish way rather than a Perlish way)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found