convert
Rewrites value from one convention into another.
The string is split into words according to from and rejoined according to to. An acronym is kept whole where the next character makes that unambiguous — parseXMLDocument splits as parse / XML / Document — and a digit-to-letter boundary starts a new word.
Return
The rewritten identifier, or value unchanged when the conventions match or it is empty.