Question:What is the function charAt() 

Answer 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. Example:
var character=new String("Bangladesh");
 character=character.charAt(5);
document.write(character);
output:'a'. 

+ Report
Total Preview: 997
What is the function charAt()
Copyright © 2024. Powered by Intellect Software Ltd