Fun functions

Added a number of functions that are useful only in some cases but are
nice to have built in to the string class in the event you require it.