Lua Methods Reference > General Methods > gobble_whitespace

gobble_whitespace
The gobble_whitespace method reduces multiple adjacent white spaces (tabs, carriage returns, spaces, and so on) in the specified string to a single space.
Syntax
gobble_whitespace( input )
Arguments
 
Returns
(String). A string without adjacent white spaces.