%% Convert Java String to Uppercase
% This example shows how to call a built-in Java String class method toUpperCase.
% Create a Java® string using the built-in class java.lang.String and display its methods.

str = java.lang.String('hello');
methods(str)

%
% Call the toUpperCase method.

toUpperCase(str)

% Copyright 2012 The MathWorks, Inc.