Returns true or false if the argument is a blank space.
1 character.isWhitespace
<character.isWhitespace>
<data /> !
</character.isWhitespace>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Edata | Char | Character to analyze. |
Returns | |
---|---|
Type | Description |
Boolean | Returns true if the argument is a blank space, false if it is not. |
Exceptions
requires 1 argument, received [...]
Missing a parameter.
single character required while received [...]
A single character is required.
Example
Show if the character is a blank space.
Copy
<xsql-script name='character.isWhitespace_sample1'> <body> <!-- entering a blank space, it should appear true--> <println><character.isWhitespace><string> </string></character.isWhitespace></println> <!-- entering a blank space, it should appear false--> <println><character.isWhitespace><string>m</string></character.isWhitespace></println> </body> </xsql-script>
Example
The result will be:
Copy
true false