Author Topic: Upper case :UC not working  (Read 1291 times)

Offline tgmedia

  • Newcomer
  • *
  • Posts: 1
    • View Profile
Upper case :UC not working
« on: February 12, 2021, 01:48:33 PM »
I been using templates for a long time and I noticed :UC is not working anymore on metadata templates. Has this changed or am I doing something wrong

I have the latest PM 6 installed so hope someone can advise why its not working it used to work on PM 5

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Upper case :UC not working
« Reply #1 on: February 12, 2021, 02:29:39 PM »
I been using templates for a long time and I noticed :UC is not working anymore on metadata templates. Has this changed or am I doing something wrong

I have the latest PM 6 installed so hope someone can advise why its not working it used to work on PM 5

You'll have to provide the range information.  It was never documented as optional though it used to work when omitted.

If you want to operate on the entire value you would use:

{variablename:0:UC}

https://docs.camerabits.com/support/solutions/articles/48001077381-variable-substring-extraction

-Kirk