如何删除android中的String Empty空格

时间:2016-04-13 14:38:33

标签: android string

我想从第一个String中删除空白区域,使其看起来像第二个String。

1)EVANS MD                 JOSEPH       J
2)EVANS MD JOSEPH J

我的代码:

String finaloriginAutoCompleteText = providerOriginAddress.get(position).getProviderName();

1 个答案:

答案 0 :(得分:2)

select  template_internal_id,  create_date, 
DATEDIFF (DAY, msg_rfi.create_date, GETDATE()) as event_age
from events
left join configuration
on events.template_internal_id=configuration.template_internal_id
and event_age>first_threshold and event_age<second_threshold