Discover MakerZone

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

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!

Problem 705. Remove white space from the string

Created by Sangeeta

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

Problem Group

Solution Statistics

112 correct solutions 86 incorrect solutions
Last solution submitted on Nov 20, 2015