共用方式為


unicode_codepoints_from_string()

使用 版本 下拉選單切換服務。 了解更多關於導航的資訊
Apply to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel

傳回輸入字串之 Unicode 字碼點的動態數位。 此函式是函式的 unicode_codepoints_to_string() 反向作業。

已被取代的別名: to_utf8()

語法

unicode_codepoints_from_string( 價值)

深入瞭解 語法慣例

參數

姓名 類型 必要 Description
value string ✔️ 要轉換的來源字串。

傳回

傳回構成此函式所提供字串之字元之 Unicode 字碼點的動態數位。 請參閱 unicode_codepoints_to_string()

範例

print arr = unicode_codepoints_from_string("⒦⒰⒮⒯⒪")

輸出

arr
[9382, 9392, 9390, 9391, 9386]
print arr = unicode_codepoints_from_string("קוסטו - Kusto")

輸出

arr
[1511, 1493, 1505, 1496, 1493, 32, 45, 32, 75, 117, 115, 116, 111]
print str = unicode_codepoints_to_string(unicode_codepoints_from_string("Kusto"))

輸出

字串
Kusto