I have this script, and I’m trying to output the sublayers as camel-case, where the parent layer is named by the user input, and the sublayers use that string as a suffix, but capitalizes the first letter, like this (Note: the indents arent coming through, so I’m using “……”)
newElement
……crvNewElement
……lightNewElement
Seems using capitalize() and title() both return
newElement
……crvNewelement
……lightNewelement
Also, I’ll have to re-create it, but I seem to remember that before I used the color settings, it worked fine. Hm…
Thoughts?
FWIW when you want to maintain indentation in text you post here on Discourse you can give it as a code block. Enclose it in tripple backticks or in tripple tildes