-
Inserting space before a capital letter
Hey all,
Bugger all expression knowledge relative to the rest of this forum, but here’s my question.
I’m using the below expression to deliver the comp name from “JobNumber_CompName”
I’m just wondering if it’s possible for an expression to see the capital letter (Specifically any after the C) and insert a space beforehand?
I know I could just add the space in the comp name, but for output purpose, I’d rather not.
Thanks in advance!
thisComp.name.split("_")[1]