0
Is there any function that deletes letters and special characters (%#&@/*) from a file
For example I have this in the first file (2*3 43# 76) And I want to have (23 43 76) that in the second file https://code.sololearn.com/cg5IEOTl8E6g/?ref=app
2 Respostas
+ 5
zaya1235 ,
what you can do is to iterate on the input string, and take all characters that are digits and spaces and put them to a new string. all other characters should be ignored.
happy coding and good success!