isAscii()
Table of Contents
Overview
The isAscii() function returns True if all characters in the input text are ASCII (American Standard Code for Information Interchange).
Return Type
- TEXT
Syntax
<variable> = <inputText>.isAscii();
(OR)
<variable> = isAscii(<inputText>);
Parameter | Data type | Description |
---|---|---|
<variable> | BOOLEAN | The variable that will contain the result of ASCII check (true/false). |
<inputText> | TEXT | The text on which the ASCII check will be performed. Note:
|
Examples
inputText = "Hello$World123" ; info inputText.isAscii(); // Returns true inputText = "" ; info inputText.isAscii(); // Returns true inputText = "ß" ; info inputText.isAscii(); // Returns false