Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IsCharAlpha 1

Status
Not open for further replies.

corsair2

IS-IT--Management
Feb 21, 2001
55
GB
recently downloaded a code fragment which included the function(?) IsCharAlpha - this is part of a piece of code which is designed to recursively move through a word or line of text testing for letters of the alphabet.
Now, I'm using Delphi 3 and cann't find the "IsCharAlpha" function/procedure anywhere in the help files and have checked my Delphi books to no avail.
Strange thing is I'm sure I've read about this before somewhere...
Can anyone give me more info or point me in the right direction to find more myself?
Also, are there any other similar/related functions?
 
It could be a Delphi function provided in a differnt higher end version of Delphi or on written as part of a support unit for a magazine artical, I know the Delphi expert in the mag I subscribe to has produced an extended set of string handiling routines.
Either way it's fairy simple to write your own function to test if a charater is alphabetic. maybee use a set
e.g.
if char in ['a..'z','A'..'Z'] then ....

Hope this helps Steve


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top