ヘルプ センターヘルプ センター
このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
UTF-32 表現から string への変換
R2021a 以降
str = string(str32)
例
str = string(str32) は、UTF-32 表現 str32 を string に変換します。
str
str32
すべて折りたたむ
関数 textanalytics.unicode.UTF32 を使用して、string "Hello! 😀" を Unicode UTF-32 文字列表現に変換します。
textanalytics.unicode.UTF32
"Hello! 😀"
str = "Hello! 😀"; str32 = textanalytics.unicode.UTF32(str)
str32 = UTF32 with properties: Data: [72 101 108 108 111 33 32 128512]
関数 string を使用して str32 を string に変換します。
string
str = "Hello! 😀"
UTF32
UTF-32 文字列表現。UTF32 配列として指定します。
文字列。str32 と同じサイズの string 配列として返されます。
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
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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