Hi @ChrisQ. Yes there is; check out this thread: MACRO: Text Transformation EXAMPLES
For more information, see the wiki Searching the Forum for Answers section.