Checking if the first character of all the strings are same or not in a array of strings

后端 未结 0 530
时光说笑
时光说笑 2021-02-06 11:18

I have an array of strings, I want to check whether the first characters of all the strings are the same or not.

I know how to retrieve the first character of a string, b

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