Let say I have values like this
Apple(100)
Orange(300)
Pineapple(10)
Grape(50)
Banana(1000)
If I am going to remove (xx) from each string,what do I need to do in Swift?Any Help Please? I can find only methods that can cut string with range.But,I am having problem with that.
What i want was
Apple
Orange
...
See Question&Answers more detail:os