How could I randomly capitalize a string (Golang)

前端 未结 0 2038
孤独总比滥情好
孤独总比滥情好 2021-02-05 00:22

I\'m wanting to randomly capitalize a string in golang but am unsure how I would go about doing so.

An example of this would be as such:

string := "pr         


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