decodeHTMLEntities
HTML および XML のエンティティから文字への変換
説明
例
HTML エンティティを Unicode に置換
HTML 文字エンティティを同等の Unicode に置き換えます。
str = ["<>" "R&D"]; newStr = decodeHTMLEntities(str)
newStr = 1x2 string
"<>" "R&D"
HTML の数値文字参照を同等の Unicode に置き換えます。16 進コードの Unicode 文字  
はスペースです。
str = "R D";
newStr = decodeHTMLEntities(str)
newStr = "R D"
入力引数
str
— 入力テキスト
string 配列 | 文字ベクトル | 文字ベクトルの cell 配列
入力テキスト。string 配列、文字ベクトル、または文字ベクトルの cell 配列として指定します。
例: ["An example of a short sentence."; "A second short sentence."]
データ型: string
| char
| cell
出力引数
バージョン履歴
R2017b で導入
MATLAB コマンド
次の 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:
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
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)