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

New to MATLAB?

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

108 correct solutions 84 incorrect solutions
Last solution submitted on Jul 21, 2015