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

Home » Public Forums » archive » Re: IDL string trim
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: IDL string trim [message #61152 is a reply to message #61151] Sun, 06 July 2008 15:42 Go to previous messageGo to previous message
russell.grew is currently offline  russell.grew
Messages: 74
Registered: February 2005
Member
This may not be the most elegant solution, but you can look at the
size of k and add an extra zero to the string manually.

eg for the variable 'tmp' being slotted into the filename,

if k lt 10. then tmp = '0' + strtrim(string(k), 2) else k =
strtrim(string(k), 2)

I shall sit here and wait to be shot down by a more elegant solution.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SHA-1, MD5, etc inquiry
Next Topic: Mapping image into a polar-square coordinate

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

Current Time: Wed Oct 08 19:02:44 PDT 2025

Total time taken to generate the page: 0.00364 seconds