isascii()
Learn how to use the isascii() to check if the argument is a valid ascii string.
Returns true if the argument is a valid ASCII string.
Syntax
isascii(value)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value | string | ✔️ | The value to check if a valid ASCII string. |
Returns
A boolean value indicating whether value is a valid ASCII string.
Example
print result=isascii("some string")
Output
| result |
|---|
| true |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.