See StringLib.pdf 
Also visit www.ucalc.com/StringLib.html 
