Help CenterHelp 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
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office