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

Home » Public Forums » archive » Re: splitting strings
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: splitting strings [message #42443 is a reply to message #42429] Thu, 03 February 2005 13:04 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Benjamin Hornberger writes:

> Doesn't work, the result is an empty string.
>
> If you use " " as pattern for strsplit (the default), I get ['cat',
> 'dog', '"ground', 'hog", 'bird'], which is not what I want either.

Oh, right. I'm still faint from an exhilarating win at tennis today. :-)

Probably have to do a two-pass thing where you remove internal quotes.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array extraction, multiple slices from paired values
Next Topic: Drawing lines on image and obtaining points of intersection

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

Current Time: Fri Oct 10 00:37:06 PDT 2025

Total time taken to generate the page: 0.24079 seconds