proper syntax of charAt()
Answers
Answered by
0
Answer:
Explanation:
The charAt() method returns the character at the specified index in a string. The index of the first character is 0, the second character is 1, and so on.
Answered by
1
Answer:-
The proper syntax of charAt is,
StringName.charAt(index_val);
Where,
StringName=Name of the string you are working with.
index_val=index of the same string.
Similar questions