도움말 센터도움말 센터
UTF-32 표현을 16진수 값으로 변환
R2021a 이후
hexStr = hex(str32)
예제
hexStr = hex(str32)는 UTF-32 표현 str32를 16진수 값으로 변환합니다.
hexStr
str32
모두 축소
textanalytics.unicode.UTF32 함수를 사용하여 문자열 "Hello! 😀"를 유니코드 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]
hex 함수를 사용하여 str32를 16진수 값으로 변환합니다.
hex
hexStr = " 0048 0065 006C 006C 006F 0021 0020 1F600"
UTF32
UTF-32 문자열 표현으로, UTF32 배열로 지정됩니다.
16진수 값으로, string형 배열로 반환됩니다.
출력값 hexStr은 str32와 동일한 크기의 string형 배열입니다. 여기서 hexStr(i)는 공백 문자로 구분된 str32(i)에 대응하는 16진수 값을 포함하는 string형 배열입니다.
hexStr(i)
str32(i)
R2021a에 개발됨
tokenizedDocument | textanalytics.unicode.nfc | textanalytics.unicode.nfd | textanalytics.unicode.nfkc | textanalytics.unicode.nfkd | textanalytics.unicode.UTF32 | characterCategories
tokenizedDocument
textanalytics.unicode.nfc
textanalytics.unicode.nfd
textanalytics.unicode.nfkc
textanalytics.unicode.nfkd
characterCategories
다음 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:
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