Skip to main content

Remove all whitespace in text (string.atrim)

Declaration

out = string.atrim(text)

Parameters

  • text
    string. Text to process.

Returns

  • out
    string. The text with all whitespace removed.

Description

Remove all whitespace characters from the text.
Whitespace includes "\r" "\n" "\t".

Example

At the end of this chapter