I frequently run into problems where I have to get some input from a text file, do some string operations on it, and then write it back to the file.
As of now, I am doing this in C, but I feel this is consuming too much of my time since I have to implement everything from scratch.

While it makes for very good learning, it's sometimes difficult when I'm in a hurry.

Which language would you advise me for this purpose.