Home »
MCQs »
JavaScript MCQs
Which is/are the valid JavaScript method(s) to extract string parts?
55. Which is/are the valid JavaScript method(s) to extract string parts?
- slice(start, end)
- substring(start, end)
- substr(start, length)
- All of the above
Answer: D) All of the above
Explanation:
The all of the above JavaScript methods can be used to extract string parts.