I have a TextView which display currencies. By default my textview\'s text is: $0.00 How can I make it so the $ changes based on user selection.
$0.00
$
You could use a regular expression to remove all word characters.
String symbol = currency.getSymbol().replaceAll("\\w", "");
However this may not be ideal if any of the monetary symbols you are dealing with use letters.