Commas in arrays

Results 1 to 2 of 2

Thread: Commas in arrays

  1. #1
    Join Date
    Dec 1969

    Default Commas in arrays

    Hi...<BR>I need to know how to pull out array elements out nice if they contain commas in them. I do this:<BR>arrTableValues = rsCPInfo.GetRows(,,Array("Language", "Speak", "Read", "Writing")) &#039;Makes a 2d array from recordset<BR><BR>The recordset is ok when it has commas in it, but then when I pull the elements out of the array, the commas screw everything up. Is there a way around this? Thanx.<BR><BR>Oleg

  2. #2
    Join Date
    Dec 1969

    Default split()...

    look into the split function:<BR><BR>str = split(tempstr, ",")<BR><BR>str(0) = &#039;the first element in the array<BR><BR>good luck...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts