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

Home » Public Forums » archive » Re: Removing some but not all spaces in a string
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 some but not all spaces in a string [message #61752 is a reply to message #61750] Tue, 29 July 2008 08:37 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Bob Crawford <Snowman42@gmail.com> writes:
> On Jul 28, 10:41�pm, Craig Markwardt
> <craigm...@REMOVEcow.physics.wisc.edu> wrote:
>> ... . �It's a pity there isn't a STREPLACE() which
>> handles regular expressions.
>
> Is there a version that handles static replacements?
> If so, why not just replace " > " with ">"; " < " with "<" and " = "
> with "=" etc.?
>
>> I also attached a version based on REPSTR() but since that sub-routine
>> itself does glue/unglue, it's just hiding the mess behind a facade.
>
> I must be missing something because I'm unfamiliar with REPSTR() as
> well (and my IDL Help has no mention).
> Are these from an external library?

Yep it's in the IDL Astronomy Library.... which Wayne should be
intimately familiar with, but maybe not everybody else :-)
http://idlastro.gsfc.nasa.gov/

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array has a corrupted discriptor, reliable?
Next Topic: error on stddev estimate

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

Current Time: Fri Oct 10 05:09:50 PDT 2025

Total time taken to generate the page: 0.24226 seconds