Use the character comparison functions to determine the type of a character.

Character comparison functions include the following:

  • Decimal Digit?
  • Hex Digit?
  • Octal Digit?
  • Printable?
  • White Space?
  • Lexical Class

The type of input to these functions affects how the functions behave.

Table 1. Behavior of Character Comparison Functions by Input Type
Input Type Function Behavior
String Tests first character
Empty string Returns FALSE
Number Interprets number as ASCII character code
Floating-point number Rounds to nearest integer

Character Comparison Functions

Refer to labview\examples\Comparison\Compare Character Types.vi to see how these functions behave.