@staticmethod<EOL><INDENT>def clean(string):<DEDENT>
<EOL>if not string:<EOL><INDENT>return string<EOL><DEDENT>return string.replace('<STR_LIT:U+0020>', '<STR_LIT:U+0020>').strip()<EOL>
Prunes whitespace from a string.

:param str string: The string.

:rtype: str