...no better way comes to mind (assuming the text is truly arbitrary).