Re: [idvdevelopers] ISL scripting



I want to dynamically generate each image file based on each file
${file}, but that file contains path and link from a location I only
have read permission, my question is:

How can I extract the (only) file name (without file extension) from
${file}?
Say ${file}="/myserver/mydirectory/myfile1.nc"

Is there any way I can extract just myfile1 from ${file}?

There is another property that was not in the documentation (it is now) ${filetail} which is the filename, e.g.
"myfile1.nc"

I will also add a filetailnosuffix and filenosuffix which would have the file suffix stripped off.

-Jeff



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvdevelopers archives: