Open In App

Web technologies Questions | jQuery Quiz | Set-3 | Question 7

How do you get the character at the specified index at jQuery?
(A) GetCharAt()
(B) CharAt()
(C) CharacterAt()
(D) None Of The Above

Answer: (B)
Explanation: CharAt() is a function in jQuery that is used to find out the character at a specified index. In the charAt() function It returns the character from the given index.in charAt() you need to pass the index number from which index you want to get the number eg: charAt(2) Here it returns the index at 2 position.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :