string.whitespace

Full name
string.whitespace
Library
string
Syntax

string.whitespace

Description

The variable string.whitespace returns the text string:

' \t\n\r\x0b\x0c'

That is, it returns all characters considered whitespace, which includes the characters space, tab, linefeed, return, formfeed, and vertical tab.

Parameters

The variable string.whitespace does not accept arguments.

Result

The variable string.whitespace returns a text string.

Examples

We can obtain the characters contained in this variable with the following code:

string.whitespace
' \t\n\r\x0b\x0c'
Submitted by admin on Sun, 05/02/2021 - 18:10