Why is only the first word capitalizing when using the tocap() function?

后端 未结 6 1829
挽巷
挽巷 2021-01-23 15:16

I did the following to upper case the first letter in each word but it\'s only working on the first word. Could someone explain why?

static void Main(string[] ar         


        
6条回答
  •  粉色の甜心
    2021-01-23 16:01

    You somehow need to tokenize your initial string. You're currently not even looking past the first character of the whole thing.

提交回复
热议问题