Author Topic: Help with a file rename variable  (Read 3272 times)

Offline runner

  • Newcomer
  • *
  • Posts: 49
    • View Profile
Help with a file rename variable
« on: July 12, 2017, 03:58:45 AM »
I would like to extract the 20 from the following filename 20_7441jpg, I'm guessing it's very doable if you know how, can somebody me help please?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Help with a file rename variable
« Reply #1 on: July 12, 2017, 08:01:07 AM »
I would like to extract the 20 from the following filename 20_7441jpg, I'm guessing it's very doable if you know how, can somebody me help please?

http://wiki.camerabits.com/en/index.php/User_Manual_Flat_View#Variable_Substring_Extraction

{filenamebase:0,2}

That should do it.

HTH,

-Kirk

Offline runner

  • Newcomer
  • *
  • Posts: 49
    • View Profile
Re: Help with a file rename variable
« Reply #2 on: July 12, 2017, 10:02:48 AM »
Excellent thankyou, so simple when you know how.