Help Center
Convert UTF-32 representation to string
Since R2021a
str = string(str32)
str = string(str32) converts the UTF-32 representation str32 to string.
str
str32
example
collapse all
Convert the string "Hello! " to its Unicode UTF-32 string representation using the textanalytics.unicode.UTF32 function.
"Hello! "
textanalytics.unicode.UTF32
str = "Hello! "; str32 = textanalytics.unicode.UTF32(str)
str32 = UTF32 with properties: Data: [72 101 108 108 111 33 32 128512]
Convert str32 to string using the string function.
string
str = "Hello! "
UTF32
UTF-32 string representation, specified as a UTF32 array.
String, returned as a string array with the same size as str32.
Introduced in R2021a
tokenizedDocument | textanalytics.unicode.nfc | textanalytics.unicode.nfd | textanalytics.unicode.nfkc | textanalytics.unicode.nfkd | textanalytics.unicode.UTF32 | characterCategories | hex
tokenizedDocument
textanalytics.unicode.nfc
textanalytics.unicode.nfd
textanalytics.unicode.nfkc
textanalytics.unicode.nfkd
characterCategories
hex
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office