I want to remove empty space from the first String and make it look like the second String.
1)EVANS MD JOSEPH J
2)EVANS MD JOSEPH J
My code:
String finaloriginAutoCompleteText = providerOriginAddress.get(position).getProviderName();