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 
Return to the default flat view Create a new topic Submit Reply
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)
[Message index]
 
Read Message
Read Message
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: Fri Oct 10 14:27:41 PDT 2025

Total time taken to generate the page: 0.56007 seconds