Problem 705. Remove white space from the string

Remove the white spaces (trailing and leading) from the input variable

Solution Stats

52.5% Correct | 47.5% Incorrect
Last solution submitted on Dec 21, 2016
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!