Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Indexed assignm...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 2177 of 2234
Post > Topic >>

Indexed assignment

by bernhard.strohmeier@[EMAIL PROTECTED] Mar 3, 2008 at 02:42 AM

Hi,

Is it possible in AWK to assign a string by index into another string?
I am looking for something like the subst() function in SQL.

For example, if I would like to insert the string "abc" into the
string "12345789", starting at position 3 overwriting the other
elements the required result would be "12abc6789"

Thanks in advance.




 6 Posts in Topic:
Indexed assignment
bernhard.strohmeier@[EMAI  2008-03-03 02:42:46 
Re: Indexed assignment
gazelle@[EMAIL PROTECTED]  2008-03-03 11:34:00 
Re: Indexed assignment
Ed Morton <morton@[EMA  2008-03-03 06:14:11 
Re: Indexed assignment
Joel Reicher <joel@[EM  2008-03-03 12:32:32 
Re: Indexed assignment
Joel Reicher <joel@[EM  2008-03-04 02:55:25 
Re: Indexed assignment
bernhard.strohmeier@[EMAI  2008-03-03 05:23:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 2:44:15 CDT 2008.