Help CenterHelp Center
Convert UTF-32 representation to string
str = string(str32)
example
str= string(str32)converts the UTF-32 representationstr32to string.
str= string(str32)
str
str32
collapse all
Convert the string"Hello! "to its Unicode UTF-32 string representation using thetextanalytics.unicode.UTF32function.
"Hello! "
textanalytics.unicode.UTF32
str ="Hello! "; str32 = textanalytics.unicode.UTF32(str)
str32 = UTF32 with properties: Data: [72 101 108 108 111 33 32 128512]
Convertstr32to string using thestringfunction.
string
str = "Hello! "
UTF32
UTF-32 string representation, specified as aUTF32array.
年代tring, returned as a string array with the same size asstr32.
tokenizedDocument|UTF32|textanalytics.unicode.nfd|characterCategories|hex
tokenizedDocument
textanalytics.unicode.nfd
characterCategories
hex
You have a modified version of this example. Do you want to open this example with your edits?
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.
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:
年代elect 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