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

后端 未结 6 1827
挽巷
挽巷 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 15:53

    Learn to love the string.split() method.

    Any more help than that and I would feel dirty.

提交回复
热议问题