Remove a specific character with another - MATLAB Cody - MATLAB Central

Problem 59646. Remove a specific character with another

Difficulty:Rate
Remove any (-) dash sign with (_) underscore
Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step'
y = 'The_Journey_of_thoudsands_miles_starts_with_a_single_step'
If you like the problem, please like it :)

Solution Stats

57.08% Correct | 42.92% Incorrect
Last Solution submitted on Mar 03, 2025

Problem Comments

Solution Comments

Show comments

Group

Swap Between Values Image
Swap Between Values
  • 13 Problems
  • 40 Finishers

Problem Recent Solvers112

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page