Parsing CSV Values In ColdFusion While Handling Embedded Qualifiers And Delimiters

<!---
	Send the CSV value to the UDF. Be sure to trim the value
	(leading and trailing spaces). We are going to leave the
	default delimiter (,) and qualifier (").
--->
<cfset arrResult = CSVToArray(
	CSV = strCSV.Trim()
	) />
 
<!--- Dump out the resultant array. --->
<cfdump
	var="#arrResult#"
	label="CSV Results Array"
	/>

For Cut-and-Paste