fix tiny bug & add to string API
Fixed tiny bug and restructure text.printColourFormat a bit.
Also added string.safePattern & string.replaceChar