Cody

Problem 466. Compress strings (not springs)

Please remove excess space, limit one space between others, and no space before punctuation marks.

  • For example, 'Trendy , Cody , Contest .'
  • should be ---- 'Trendy, Cody, Contest.'

Solution Stats

31.84% Correct | 68.16% Incorrect
Last solution submitted on May 22, 2017

Problem Comments

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!