JCL Help:CharIsWhiteSpace@AnsiChar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether C represents space.


Pascal

 function CharIsWhiteSpace(const C: Char): Boolean;
function CharIsWhiteSpace(const C: AnsiChar): Boolean;


Parameters

Parameters Description
const C: Char Character to test.


Return Value

If the character represents a space the result is True, otherwise the result is False.


Description

CharIsWhiteSpace returns whether or not the C character represents a space. Unlike CharIsSpace this function returns True if the specified character comes from the AnsiWhiteSpace set which is defined as: AnsiWhiteSpace = [[[JCL_Help:AnsiNull|AnsiTab]], AnsiLineFeed, AnsiVerticalTab, AnsiFormFeed, AnsiCarriageReturn, AnsiSpace];


See Also

CharIsSpace


About

Unit

JclAnsiStrings


Donator

Anthony Steele


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page