阅读背景:

如何从字符串中删除一些空格?

来源:互联网 

I have a question. I write tests for a mobile app. And at this moment, I compare the prices in different currencies like Pound, Euro, India, etc. A possible comparison should be "now £1.678,95". It's no problem for me to cut the "now", to cut the whitespace - short, to get the string in a possible Int or Double formation. BUT now I'm in France. In France the formation is "maintenant 2 500,00 €". No problem with the "maintenant", no problem with the whitespace outside the price and no problem with "€". I have a question. I write tests for a mobile a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: