strIsSpace

Tests if all characters in a string are whitespace. Takes str (string to test). Returns 1 if every character in the string is whitespace (spaces, tabs, newlines, carriage returns), otherwise returns 0.

String

Parameters & Returns

Parameters

str String

Returns

Int

Quick Summary

Tests if all characters in a string are whitespace. Takes str (string to test). Returns 1 if every character in the string is whitespace (spaces, tabs, newlines, carriage returns), otherwise returns 0.

Technical Exegesis...

Returns 1 if every character in the string is whitespace (spaces, tabs, newlines, carriage returns), otherwise returns 0. Returns 1 if the string is empty.

Note: Empty strings are considered whitespace. Useful for checking if a string contains only whitespace before processing user input or parsing data.

Example

Example.bam
; No example implemented yet