Indy 9
IsWhiteString
See Also, Unit: IdStrings
Indicates if a string value contains only whitespace characters.
function IsWhiteString(const AStr: String): Boolean;
Unit
IdStrings
Parameters
const AStr: String
Values to be examined for whitespace characters.
Return Value
Boolean - True when AStr contains only whitespace character.
Description
IsWhiteString is a Boolean function that indicates if the value in AStr contains only whitespace characters. Whitespace characters include the values TAB and CHAR32. IsWhiteString returns False when AStr contains any character not considered a whitespace character.

When AStr is an empty string, the return value for IsWhiteString is True.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.