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

Home » Public Forums » archive » Re: strsplit bug
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: strsplit bug [message #37710 is a reply to message #37694] Thu, 15 January 2004 07:14 Go to previous messageGo to previous message
rigby is currently offline  rigby
Messages: 16
Registered: September 1995
Junior Member
Reimar Bauer <R.Bauer@fz-juelich.de> wrote

> What does happen to strsplit?
>
> IDL> test='Column1!CColumn2'
> IDL> print,strsplit(test,'!C',/extr)
> % Compiled module: STRSPLIT.
> olumn1 olumn2
>
> regards
>
> Reimar

Reimar,

May this is what you want?

IDL> print, strsplit(test, '!C', /regex, /extract)
Column1 Column2

Without the regular expression keyword, I believe strsplit
is splitting on either '!' or 'C'.

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: determining size of window
Next Topic: phase unwrappping

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

Current Time: Sun Oct 12 14:47:58 PDT 2025

Total time taken to generate the page: 0.24146 seconds