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

Home » Public Forums » archive » Removing (or replacing) substrings in a string array
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: Removing (or replacing) substrings in a string array [message #87273 is a reply to message #87262] Wed, 22 January 2014 07:57 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
... if I might sneak into this post: is there a general solution for the
problem:
"Removing (or replacing) all occurences of a substring of any length in
a string array" ?

This sounds like such a trivial and usefull operation that I wonder why
it is not native in the IDL language...

I rely on this solution which I found on the newsgroup:

https://groups.google.com/d/msg/comp.lang.idl-pvwave/4eq9yOP NTJ8/mDltqt72pogJ

There is also the Astro solution:

http://www.astro.washington.edu/docs/idl/cgi-bin/getpro/libr ary27.html?STRREPLACE

But it would be nice to have a unified and fast solution, no?

Is there one already?

Thanks!
[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
Previous Topic: keyword inheritance question
Next Topic: Plotting points in fainter color on an IDL plot

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

Current Time: Wed Oct 08 18:07:55 PDT 2025

Total time taken to generate the page: 0.00239 seconds