RE: Equivalent to insert function

Ala Qumsieh <[email protected]> Thu, 11 Jan 2007 07:20:52 -0800 (PST)
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
--- [email protected] wrote:

> perldoc -rf splice

splice() only works on arrays, while the OP needed
something for strings. Use substr() instead.

> ________________________________
> 
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> jeevitesh
> Sent: Thursday, January 11, 2007 12:47 PM
> To: [email protected]
> Subject: Equivalent to insert function
> 
> 
> Hi All,
> I need to find a function in perl which is
> equivalent to insert function
> of the form 
> INSERT(old_string,position,length,New_string)'. can
> you kindly help me
> out.
> 
> with regards



 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk