Author Topic: Variable with UC not working  (Read 1004 times)

Offline Rguzmanphoto

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Variable with UC not working
« on: April 23, 2022, 05:27:11 PM »
I have a variable = {monthname3:UC} {day0} in headlines set up to give me month in uppercase since updating to 6424 month is in lower case. Ok so I just went back to see see when the lower case started it seems that after Dec 2020 all are lower case

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Variable with UC not working
« Reply #1 on: April 23, 2022, 09:43:01 PM »
I have a variable = {monthname3:UC} {day0} in headlines set up to give me month in uppercase since updating to 6424 month is in lower case. Ok so I just went back to see see when the lower case started it seems that after Dec 2020 all are lower case

Use: {monthname3:0:UC}

The index used to be optional but now it is required.

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

-Kirk

Offline Rguzmanphoto

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Re: Variable with UC not working
« Reply #2 on: April 24, 2022, 10:17:46 AM »
Thanks Kirk