adplus-dvertising
frame-decoration

Question

Which is the function to get the character present at a particular index in the string?

a.

char charAt(index);

b.

char charIn(StringName);

c.

char charAt(StringName);

d.

char charIn(index);

Answer: (a).char charAt(index);

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is the function to get the character present at a particular index in the string?