Wow... I must have really misunderstood the question
No, you understood the question perfectly. And what you suggested is a quick and easy soultion to the problem (although, with a little coding, it could be done more efficiently).
Hudster posted a question in reply to a different thread about TABS in MTEXT.