comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » STRSPLIT and .csv files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
STRSPLIT and .csv files [message #76994] Tue, 19 July 2011 03:30
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Dear IDLers,

Rather than doing it by myself I am using the "lazy option" wich is
asking you, my apologies.

I have a .csv file that I read like this:

readf, lun, line
els = STRSPLIT(line, ',' ,/EXTRACT, /PRESERVE_NULL)

But in the csv file there are some http address that are put between ""
and that sometimes contain commas. What would be an elegant way to learn
STRSPLIT to ignore the commas that are present between "", or is there a
tool that makes it already?

Thanks a lot!

Fab
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 8.1 and .RESET_SESSION
Next Topic: Re: STRSPLIT and .csv files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:39:43 PDT 2025

Total time taken to generate the page: 0.00563 seconds