charAt(int index) method in String class of java cannot take long input?
I have a very long String upto 10^15 characters. I need to see what character is at a particular index but charAt() method takes integer parameter. How can I find character at a particular index (>10^9) ?
Aucun commentaire:
Enregistrer un commentaire