Matt
Member since Jun 13, 2013
- Profile: /members/10970-matt.htm
- Comments: 1
Recent Blog Comments By Matt
-
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command
Posted on Jun 13, 2013 at 1:17 AM
I had an issue where I was getting an empty row at the end of the array when the CSV string ended in a newline character. I fixed the issue by adding if(!arrMatches[ 2 ] && !arrMatches[ 3 ]) { break; } Immediately before if (strMatchedDelimiter.length && (strMatchedDel... read more »