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

58.23% Correct | 41.77% Incorrect
Last solution submitted on Mar 07, 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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more