Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: add text to a string

by zakame (Pilgrim)
on Jun 02, 2006 at 10:28 UTC ( [id://553258]=note: print w/replies, xml ) Need Help??


in reply to add text to a string

Would this do?
$str = 'bcde'; $new = join "" => a => split // => $str; # $new = 'abcde';
That's warnings-tested, strict-approved. =)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found