阅读背景:

React Native - 如何修剪字符串

来源:互联网 

I want to delete the whitespaces from the beginning and the end of a string. For example, given a string " Test ", I would like to receive "Test". I have tried JavaScript's methods and also some npm libraries, but they don't seem to work with React Native? Any thoughts?I want to delete the whitespaces from the begin




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

分享到: