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

106 correct solutions 83 incorrect solutions
Last solution submitted on Apr 21, 2015