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

Home » Public Forums » archive » Re: STRTRIM needs improvement
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: STRTRIM needs improvement [message #3572 is a reply to message #3567] Tue, 21 February 1995 04:43 Go to previous message
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
In article <3i5ni5$i3t@hammer.msfc.nasa.gov> mallozzi@ssl.msfc.nasa.gov writes:
>
> Dear RSI,
> Is it possible to improve STRTRIM so that I can do
> STRTRIM(x, F='(f5.2)', 2)
> instead of
> STRTRIM(STRING(x, F='(f5.2)'), 2)
> I often use the latter construction in widget programming so that
> displayed values have a nice format.

Hear, hear! I find myself doing this all the time. This does, however, turn
STRTRIM into something other than a "string trimmer". Perhaps it might be more
appropriate to add the leading/trailing blank elimination function to STRING
instead.

--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: j.m.zawodny@larc.nasa.gov MS-475, Hampton VA, 23681-0001
TCP/IP: ko4lw@ko4lw.ampr.org Packet: ko4lw@n4hog.va.usa.na
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Getting info on the whole screen in IDL
Next Topic: Re: widget for image display

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

Current Time: Fri Oct 10 16:33:56 PDT 2025

Total time taken to generate the page: 1.04058 seconds