Function Reference

StringIsAlpha

Checks if a string contains only alphabetic characters.

StringIsAlpha ( "string" )

 

Parameters

string The string to check

 

Return Value

Success: Returns 1.
Failure: Returns 0 if string contains non-alphabetic characters.

 

Remarks

Keep in mind that any whitespace will cause StringIsAlpha to return 0.

 

Related

StringIsAlNum, StringIsASCII, StringIsDigit, StringIsLower, StringIsSpace, StringIsUpper, StringIsXDigit, StringUpper, StringLower

 

Example


$x = "This is a sentence with whitespace."
MsgBox(0,"StringIsAlpha returns:", StringIsAlpha($x))