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

Home » Public Forums » archive » Re: read_ascii for many rows / possible to create automatic names for variables
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: read_ascii for many rows / possible to create automatic names for variables [message #57202 is a reply to message #57153] Thu, 06 December 2007 06:52 Go to previous messageGo to previous message
Mike[2] is currently offline  Mike[2]
Messages: 99
Registered: December 2005
Member
On Dec 5, 12:15 pm, David Fanning <n...@dfanning.com> wrote:

> The other alternative (besides shooting the programmer,
> I mean) is to use a regular expression as the column
> separator in StrSplit.

I don't think this one will need regexps (although if you are entering
a Buddhist monastery, a good foundation in regexps will help your
meditation practice tremendously!). If no pattern is passed to
strsplit, it splits on whitespace (runs of spaces or tabs). So
strsplit(line, /extract) aught to do it.

Mike

--
Whitespace: the other white meat: http://imgs.xkcd.com/comics/python.png
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: array operations and memory consumption
Next Topic: pson + !p.multi + xyouts

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

Current Time: Sat Oct 11 08:29:06 PDT 2025

Total time taken to generate the page: 2.07803 seconds