How to get the first character of each word in “HTML” Javascript?

前端 未结 0 2011
长发绾君心
长发绾君心 2021-01-07 23:30

I am trying to extract the initials of "User 10" as U1 in HTM. I am able to extract the first and the last as U0, but I want U1. This is how I am

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