Determines if a byte value is a Letter, Digit, or Hyphen in the US-ASCII character set.
function IsASCIILDH( const AByte: Byte ): Boolean; overload;
Parameters |
Description |
AByte |
Value to check for Letter, Digit, or Hyphen compliance. |
Boolean - True when the byte is a Letter, Digit, or Hyphen.
IsASCIILDH is an overloaded Boolean function used to determine if the value in AByte represents a Letter, Digit, or Hyphen in the US-ASCII character set.
IsASCIILDH returns True when Abyte contains a byte value in the following ranges:
Hex |
Decimal |
Characters |
$2D |
45 |
'-' |
$30 .. $39 |
48 .. 57 |
'0' .. '9' |
$41 .. $5A |
59 .. 90 |
'A' .. 'Z' |
$61 .. $7A |
97 .. 122 |
'a' .. 'z' |
Use the overloaded IsASCIILDH function to examine bytes values in TIdBytes for Letter, Digit, and Hyphen compliance.
IsASCIILDH
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|