select correct method name of String object is --------.
charAt()
characterAt()
valueAt()
lengthAt()
Answers
Answered by
8
Answer:
length At() can be the method name of string object
Answered by
0
Select correct method name of String object is charAt().
About charAt() method :
- The method charAt() returns the character at the provided index. A string's characters are indexed form left to right.
- The first character in such a string, called stringName, has an index of 0, and the last character in some kind of a string, named stringName, has an index of stringName. length – 1.
- charAt() is a JavaScript string method that retrieves a character from a specified position in a string.
- Because the charAt() function is just a String object method, and must be used with a String object.
Similar questions
Math,
4 months ago
Political Science,
4 months ago
Hindi,
4 months ago
Math,
9 months ago
Computer Science,
9 months ago
English,
1 year ago