.substring()

Term side of the Card
Topic: String
Unit title: .substring()
Categories: Method
Explanation side of the Card

Explanation: The method that returns a new string containing characters from the start index to the end index (not included). It extracts a portion of the string without modifying the original.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: