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?

  1. slice(start, end)
  2. substring(start, end)
  3. substr(start, length)
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.