I want to make a simple program that can convert currencies and weights, etc. The only problem is that I don't know how to separate a string so that I can get each individual word.
So, if I have the string "200 GBP USD"
, how can I separate it so that I get
int currency = 200;
String currencyFrom = "GBP";
String currencyTo = "USD";