Author Topic: Shorter Model name?  (Read 4905 times)

Offline robok

  • Newcomer
  • *
  • Posts: 24
    • View Profile
Shorter Model name?
« on: February 28, 2016, 05:35:09 PM »
I'm using the "model" variable and for the Sony RX-100 it returns "DSC-RX100M4", but I would like to just have RX100.  I think there is a way for substituting but I am not totally sure if it can do that or not.

Thanks,
Rob.

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Shorter Model name?
« Reply #1 on: February 28, 2016, 10:52:46 PM »
You can do this either with code replacements or using the substring feature of variables. If you want I can show you how  ;)
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline robok

  • Newcomer
  • *
  • Posts: 24
    • View Profile
Re: Shorter Model name?
« Reply #2 on: February 29, 2016, 06:24:12 AM »
You can do this either with code replacements or using the substring feature of variables. If you want I can show you how  ;)

Sounds like Substring could be an easy win, I will try and look up the syntax tonight.  Thanks!!