Returns true or false if the argument is a blank space.

1 character.isWhitespace

<character.isWhitespace>
    <data /> !
</character.isWhitespace>

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