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

Home » Public Forums » archive » extracting strings between ' '
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: extracting strings between ' ' [message #46444 is a reply to message #46299] Sat, 19 November 2005 23:33 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
kl_tah@hotmail.com wrote:

> Hi All,
>
> I was wondering if there's a way to extract a string between inverted
> commas (or any other symbol for that matter) from a longer string in
> idl?
> e.g. extracting just aaaa from the longer string xxxx = 'aaaa'
>
> Thanks,
> KL

concerning this issue we have two routines in our libraray

within_delimiter : This function returns the string within the outermost
matching pair of delimiters

within_brackets: This function returns the string between brackets


you could get it from here


http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/within_delimiter_dbase.pro.html
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/within_brackets_dbase.pro.html


more routines are described here:
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html


cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: please help in plotting axis in iimage: IDL v6.1
Next Topic: extracting all but...

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

Current Time: Fri Oct 10 11:12:37 PDT 2025

Total time taken to generate the page: 0.40076 seconds