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

Home » Public Forums » archive » Re: comparing an array of strings
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
Re: comparing an array of strings [message #60040] Fri, 25 April 2008 11:27
Ryan. is currently offline  Ryan.
Messages: 77
Registered: March 2006
Member
On Apr 25, 1:35 pm, Bob Crawford <Snowma...@gmail.com> wrote:
> Check out:http://www.dfanning.com/tips/set_operations.html
>
> It seems like Craig Markwardt's CMSET_OP will do what you're looking
> for.http://cow.physics.wisc.edu/~craigm/idl/idl.html
>
> Bob.
> (who just spent time coding his own... then found the above)

Thanks Bob!

I found that page on David's website but after the first few methods I
stopped because I didn't think they handled string arrays. I guess
I'll make sure to read it through to the end next time!

Craig's routine looks to be exactly what I am looking for, Thanks!

Ryan.
Re: comparing an array of strings [message #60041 is a reply to message #60040] Fri, 25 April 2008 10:35 Go to previous message
Bob[3] is currently offline  Bob[3]
Messages: 60
Registered: December 2006
Member
On Apr 25, 9:45 am, "Ryan." <rchug...@brutus.uwaterloo.ca> wrote:
> Hi All,
>
> Having a routine that will compare two string arrays of different
> sizes would be very useful to me.  Does anyone know of a routine that
> previously exists that is able to compare two string arrays and return
> the common elements as well as some keyword to return the differing
> elements?  I could write some routine that would do it but due to my
> limited knowledge of IDL it probably won't be efficient.
>
> Thanks,
> Ryan.

Check out:
http://www.dfanning.com/tips/set_operations.html

It seems like Craig Markwardt's CMSET_OP will do what you're looking
for.
http://cow.physics.wisc.edu/~craigm/idl/idl.html

Bob.
(who just spent time coding his own... then found the above)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Create a netcdf grid file in IDL
Next Topic: Re: IDL PDF Book No Longer Available

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

Current Time: Wed Oct 08 19:09:37 PDT 2025

Total time taken to generate the page: 0.00712 seconds