All,
I have some indexed text that I would like to format in a more uniform manor. For example:
I live in Virginia and it is raining today
I would like that to print out as
I live in Virginia and it is raining today
I am writing my application in Python so if anyone knows how to do this sort of string manipulation, it would be greatly appreciated.
Adam
Regular expressions do work here, but are probably overkill. One line without any imports would take care of it: