I'm searched for a long time how to do a simple string manipulation in UNIX
I have this string:
theStr='...............'
And I need to change the 5th char to A, How can it be done?
In C#
it's done like this theStr[4] = 'A'; // Zero based index.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…