.trim() Not removing leading and trailing whitespaces from the keyboard Input (dart - Flutter Mobile)

后端 未结 0 1165
时光取名叫无心
时光取名叫无心 2020-12-13 13:31

Whenever is used a predefined String for example

 String coc = "coc     ";
 print(coc.trim()/);

the output is

coc/
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题