clean
Remove non-printable characters from a string.
Syntax
Section titled “Syntax”v = clean(text)Description
Section titled “Description”Strips ASCII control characters (codes 0–31) from text. Useful for cleaning data imported from external sources that contain stray newlines, tabs, or other control codes.
Example
Section titled “Example”clean(['hello' char(9) 'world']) % 'helloworld'See also
Section titled “See also”strtrim— Remove leading and trailing whitespace from a string.trim