Added some more string matching and replacing functions.