IsSpace Function


Tests whether the first character of a string is a whitespace character.


bTest = IsSpace(sString)
Variable Description
bTest TRUE if the character is whitespace. BOOLEAN.
sString The string to test. STRING.


IsSpace returns TRUE if the first character of sString is a whitespace character; otherwise it returns FALSE. Whitespace characters are spaces, horizontal tabs, vertical tabs, carriage returns, linefeeds, and formfeeds.

IsSpace emulates the application of the C library function iswspace on the first character of a specified string.


Print(IsSpace(" hello")) // prints: TRUE
Print(IsSpace("world")) // prints: FALSE