title | description | ms.reviewer | ms.topic | ms.date |
---|---|---|---|---|
unicode_codepoints_from_string() |
Learn how to use the unicode_codepoints_from_string() function to return a dynamic array of the Unicode codepoints of the input string. |
alexans |
reference |
02/27/2023 |
Returns a dynamic array of the Unicode codepoints of the input string. This function is the inverse operation of unicode_codepoints_to_string()
function.
Deprecated aliases: to_utf8()
unicode_codepoints_from_string(
value)
[!INCLUDE syntax-conventions-note]
Name | Type | Required | Description |
---|---|---|---|
value | string |
✔️ | The source string to convert. |
Returns a dynamic array of the Unicode codepoints of the characters that make up the string provided to this function.
See unicode_codepoints_to_string()
)
[!div class="nextstepaction"] Run the query
print arr = unicode_codepoints_from_string("⒦⒰⒮⒯⒪")
Output
arr |
---|
[9382, 9392, 9390, 9391, 9386] |
[!div class="nextstepaction"] Run the query
print arr = unicode_codepoints_from_string("קוסטו - Kusto")
Output
arr |
---|
[1511, 1493, 1505, 1496, 1493, 32, 45, 32, 75, 117, 115, 116, 111] |
[!div class="nextstepaction"] Run the query
print str = unicode_codepoints_to_string(unicode_codepoints_from_string("Kusto"))
Output
str |
---|
Kusto |