unicode_codepoints_from_string()
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()
Syntax
unicode_codepoints_from_string(
value)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | string |
✔️ | The source string to convert. |
Returns
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()
)
Examples
print arr = unicode_codepoints_from_string("⒦⒰⒮⒯⒪")
Output
arr |
---|
[9382, 9392, 9390, 9391, 9386] |
print arr = unicode_codepoints_from_string("קוסטו - Kusto")
Output
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"))
Output
str |
---|
Kusto |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for