Added some new functions.

http://www.cprogramming.com/snippets/source-code/useful-c-string-functions