I'm using the spinner, and I want to get the text selected for the user so I'm using
String datacat = categorySpinner.getSelectedItem().toString()
the problem is that this sentence also return the tag of the spinner in a String like this: {supplier=VITA}
, but I need to get only the VITA
value