Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 SP3 Determine the Value of the first occurance in a
Message
From
01/11/1999 14:11:04
 
 
To
01/11/1999 12:49:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00284865
Message ID:
00284969
Views:
11
>I continued my search for the correct function to use and FOUND it ISALPHA().
>Any other help with this is appreciated.
>
I was just having to verify the first two characters of a string are alpha, so I wrote this little procedure:
procedure alphastr
	lparameter mystring
        local ureturn, ustrpos
	ureturn = .t.
	for ustrpos= 1 to len(mystring)
		if !isalpha(substr(mystring, ustrpos, 1)) then
			ureturn = .f.
		endif
	next
return ureturn
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform