How to remove all the values in a string except for the chosen ones – stackoverflow.com

So my code is value = "123456" I want to remove everything except for 2 and 5. the output will be 25 the program should work even the value is changed for example value = "463312" the output will be ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How to remove all the values in a string except for the chosen ones – stackoverflow.com"