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

Home » Public Forums » archive » Appending Numbers to Strings in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Appending Numbers to Strings in IDL [message #48991] Mon, 05 June 2006 14:31
toddbranch is currently offline  toddbranch
Messages: 4
Registered: June 2006
Junior Member
Hi everyone,

I'm new to IDL, and have only been using it for two weeks. I bought
Liam Gumley's book and it has been quite helpful so far. The program
I'm writing requires me to identify different objects within an image.
Since there may be more than one, I append a variable number to the end
of the file name string to differentiate between objects.

I know that you can append numbers to a string like this:
string+string(variable)

But, that leaves a lot of whitespace in front of the number. Is there
a way to eliminate this whitespace?
I want it to work like this:
string+string(variable)=stringvariable, not string variable

Thanks a lot for your help,

Branch
[Message index]
 
Read Message
Previous Topic: Promised new IDE?
Next Topic: Re: how to open three single-band files simultaneously

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

Current Time: Sat Oct 11 15:44:14 PDT 2025

Total time taken to generate the page: 1.83987 seconds