Padding middle of a string

前端 未结 0 640
野的像风
野的像风 2020-12-11 02:36

I have this requirement to pad strings so that they become 10 characters long.

Example strings :

AB..12
ABC...123

I need to add dots i

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