Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How do I insert, (not overwrite) into a string?

by KM (Priest)
on Aug 23, 2000 at 20:06 UTC ( [id://29242]=note: print w/replies, xml ) Need Help??


in reply to How do I insert (not overwrite) into a string?

Another way to do it:

my $str = "ello"; substr($str,0,0,"H");

Cheers,
KM

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found