Checks if a string contains only ASCII characters in the range 0x00 - 0x7f (0 - 127).
StringIsASCII ( "string" )
Parameters
string | The string to check |
Return Value
Success: | Returns 1. |
Failure: | Returns 0 if string contains extended ASCII characters. |
Remarks
None.
Related
StringIsAlNum, StringIsAlpha, StringIsDigit, StringIsLower, StringIsSpace, StringIsUpper, StringIsXDigit, StringUpper, StringLower
Example
$x = StringIsASCII("This is a sentence.")
MsgBox(0,"StringIsASCII returns:", $x)