I have a price range stored into a variable which I need to split, and then store them into two different variables so I can add and divide them among each other.
StringVaraible = “$1000 - $2000”
What I need to do:
Remove the ‘-’ in the middle
Remove the ‘$’ from the string
Store 1000 and 2000 into separate variables (this is the hard part I think)
Convert (those two variables^) to int
Thanks in advance