Compress strings (not springs) - MATLAB Cody - MATLAB Central

Problem 466. Compress strings (not springs)

Difficulty:Rate

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

35.09% Correct | 64.91% Incorrect
Last Solution submitted on Jan 01, 2025

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
14
6

Problem Recent Solvers205

Suggested Problems

More from this Author100

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page