Javascript Split Space Delimited String and Trim Extra Commas and Spaces

后端 未结 6 2363
时光说笑
时光说笑 2021-02-19 15:14

I need to split a keyword string and turn it into a comma delimited string. However, I need to get rid of extra spaces and any commas that the user has already input.



        
6条回答
提交回复
热议问题