The CSV UDF will convert between a CSV string and an array. Download it and include it in your script.

Then - $aRecord = CSV($Row) will convert your $Row record to an array. Each field from the CSV will be an element of $aRecord - 0 through 3. $aRecord[0] the first field, $aRecord[1] the second, and so on..

Thinking you can be 100% successful by trying to locate or find commas will get you into trouble. CSV is a specific format, and the CSV() function follows all rules to convert between an array and CSV string.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D