String's CharAt method using long

前端 未结 3 1046
無奈伤痛
無奈伤痛 2021-01-04 17:51

I want to find the character at a particular position of a very large string. However i am unable to use charAt() method because the range exceeds that of int.

3条回答
  •  误落风尘
    2021-01-04 18:32

    Would taking just a shorter substring from the large string and accessing the corresponding position help?

提交回复
热议问题