isascii()
適用於:✅Microsoft網狀架構✅Azure 數據✅總管 Azure 監視器✅Microsoft Sentinel
如果自變數是有效的 ASCII 字串,則傳 true
回 。
語法
isascii(
value)
深入瞭解 語法慣例。
參數
姓名 | 類型 | 必要 | Description |
---|---|---|---|
value | string |
✔️ | 要檢查有效 ASCII 字串的值。 |
傳回
布爾值,指出值是否為有效的 ASCII 字串。
範例
print result=isascii("some string")
輸出
result |
---|
true |