decodeHTMLEntities
HTML 및 XML 엔터티를 문자로 변환
설명
예제
HTML 엔터티를 유니코드로 바꾸기
HTML 문자 엔터티를 그에 상응하는 유니코드로 바꿉니다.
str = ["<>" "R&D"]; newStr = decodeHTMLEntities(str)
newStr = 1x2 string
"<>" "R&D"
HTML 숫자형 문자 참조를 그에 상응하는 유니코드로 바꿉니다. 16진수 코드  
에 해당하는 유니코드 문자는 공백을 나타냅니다.
str = "R D";
newStr = decodeHTMLEntities(str)
newStr = "R D"
입력 인수
str
— 입력 텍스트
string형 배열 | 문자형 벡터 | 문자형 벡터로 구성된 셀형 배열
입력 텍스트로, string형 배열, 문자형 벡터 또는 문자형 벡터로 구성된 셀형 배열로 지정됩니다.
예: ["An example of a short sentence."; "A second short sentence."]
데이터형: string
| char
| cell
출력 인수
버전 내역
R2017b에 개발됨
참고 항목
eraseTags
| eraseURLs
| erasePunctuation
| lower
| upper
| tokenizedDocument
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)