http://www.scriptlogic.com/kixtart/htmlhelp/default.asp

look up Split() and Trim()
_________________________
How to ask questions the smart way <-----------> Before you ask