Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Retain first 4 characters of a string

by johngg (Abbot)
on Aug 24, 2012 at 09:19 UTC ( #989460=note: print w/ replies, xml ) Need Help??


in reply to Retain first 4 characters of a string

Have a look at split, map, substr and join.

Cheers,

JohnGG


Comment on Re: Retain first 4 characters of a string

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-07-04 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls