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

56.39% Correct | 43.61% Incorrect
Last Solution submitted on May 15, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers119

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

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

Start Hunting!