Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp6 SP3 Determine the Value of the first occurance in a
Message
De
01/11/1999 14:11:04
 
 
À
01/11/1999 12:49:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00284865
Message ID:
00284969
Vues:
10
>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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform