Removing multiple zeros from a string if only zeros are input

后端 未结 0 1500
星月不相逢
星月不相逢 2021-01-14 05:36

I\'m trying to implement a method that if the user inputs a series of zero like 00000 it should return 0

Otherwise, if the user inputs for e

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