Problem 54350. String Manipulator
Write a script that takes a string as an input and returns a cell array containing  –
I. the count of vowels.
II. Find the index of ‘o’
III. The string removing all the vowels.
IV. The string removing all the letters from a to j.
V. The string removing all the consonants.
VI. The string replacing all the vowels with an asterisk (*)
VII. The string removing all the digits.
Hint: Use Regular Expression
Solution Stats
Problem Comments
- 
		3 Comments
		Dyuman Joshi
    	on 24 Apr 2022
	
	
  	Please correct - 
1st test case -  it should be (Sir) David Attenboro'u'gh! 
2nd test case - 5th element B should not be there, as it is a consonant.
		Nayeb Hasin
    	on 26 Apr 2022
	
	
  	Thanks Dyuman. Updated!
		Touhidul Islam
    	on 26 Apr 2022
	
	
  	Nayeb Hasin gave all 8 problems in a single problem. Teach us something man! How to be a pro coder like you!
Solution Comments
Show commentsProblem Recent Solvers19
Suggested Problems
- 
         
         413 Solvers 
- 
         First non-zero element in each column 920 Solvers 
- 
         
         373 Solvers 
- 
         
         6869 Solvers 
- 
         calculate the length of matrix 2183 Solvers 
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!