bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] Is there a way to change a string inplace by index?


From: Peng Yu
Subject: [bug-gawk] Is there a way to change a string inplace by index?
Date: Sat, 3 Sep 2016 21:34:21 -0500

Hi, I don't find a way to replace some characters of a string inplace
by index. For example, I want to replace the i-th character of s by x.
Is there a way to do so in awk?

s[i] = x

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]