Hi guys. Do you know how to replace different words into one string?
Example:
I have this string with mixed numbers and strings: “N1u2m3b4e5r”
I want to take out the numbers in one variable and letters in other variable to ger de results “12345” and “Number”
I was thinking to make this:
variableLetters.Replace(“1”,"").Replace(“2”,"").Replace(“3”,"").Replace(“4”,"").Replace(“5”,"")
BUT IS FREAKING LONG
There is a way to resumen this into a simple sentence?
thank you for your time