Say I have a file called hello.txt which contains "Hello World!". If I wanted to make a script which opened the file and read the contents (I know how to do that) and added stuff to the string, how would I go about doing this?
For example: Hello World would have '..' inserted at the start of the string/content, and then every 2 characters later, except at the end. Also consider the contents will not always be "Hello World".