%% Convert UTF-32 String Representation to String
% Convert the string "Hello! 😀" to its Unicode UTF-32 string representation using the textanalytics.unicode.UTF32 function.

str = "Hello! 😀";
str32 = textanalytics.unicode.UTF32(str)

% Convert str32 to string using the string function.

str = string(str32)

% Copyright 2021 The MathWorks, Inc.