X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Aug 2016 09:22 AM by  anon
Truncating output Raster names
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Aug 2016 09:22 AM
    Hello, Without going in to too much detail I am trying to figure out how to designate an output name for a batch of raster files by only maintaining a certain portion of the original name. Is that possible? I know you can truncate text in other programs like excel by telling it how many characters to include, but as I am performing this on a batch of files my names will not be the same number of characters. One thing that may help is that the truncated part I wish to remove will always begin with "_ExG...." Here is an example: Current Name: 2012-10-12_38383C_ExG_RG_stacked.dat Wanted Name: 2012-10-12_38383C.JPG (here the .JPG is not to designate file type but just to match file names I already have) Any suggestions are greatly appreciated! Thanks, Allisyn

    Deleted User



    New Member


    Posts:
    New Member


    --
    08 Aug 2016 10:38 AM
    I was able to resolve my naming issue by using the IDL_String::Remove method. http://www.harrisgeospati...l_string.html#Remove Thanks
    You are not authorized to post a reply.