Hi there!<BR><BR>I managed to assign variable to data from database using <BR>varName = rs(0);<BR><BR>where rs = Conn.Execute (sqlQuery);<BR><BR>Everything works fine, but the problem is varName needs to be parsed because it contains data in the format of 1a,1b,1c etc and I need to separate them from the commas, and assign each of them to a new variable. I do not know how to go about this. I tried <BR><BR>var temp = varName.charAt(i);<BR>where i is an incremented counter, but this does not work. It seems like it cannot use the function charAt() and returns undefined. Please advice.<BR><BR>Thank you very much.<BR><BR>B Agil<BR>KL City,<BR>Malaysia.