Manual -> Report Generator -> Engineering in the Editor -> Report functions -> Text functions -> clean
The function clean (string) deletes all control elements from the text string.
Syntax: =clean(string)