I'm using LaTeX and have a string that I want to remove underscores from, and convert to lower case (in either order). The individual steps work:
but I get errors for either:
I need to do this in a LaTeX macro, and put the result of this (lower-cased and underscore-stripped) to be usable as an argument to another command, or to be captured into a variable for such use.
Evidently I don't understand how macro substitution really works, but I can't seem to find a good explanation.