remove numbers from a string - MATLAB Cody - MATLAB Central

Problem 45190. remove numbers from a string

Difficulty:Rate

check the given string for any numbers.in case one is found,remove it.but the two portions should be separated. if more than one number is there, only the 1st one should be removed.rest of the strings should remain the same. For example,

  • a='he1is5jon'
  • y='he is5jon'

Solution Stats

50.0% Correct | 50.0% Incorrect
Last Solution submitted on Jun 18, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers35

Suggested Problems

More from this Author174

Problem Tags

Community Treasure Hunt

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

Start Hunting!