About 85,300 results
Open links in new tab
  1. JavaScript String substring () Method - W3Schools

    The substring() method extracts characters, between two indices (positions), from a string, and returns the substring. The substring() method extracts characters from start to end (exclusive).

  2. String.prototype.substring () - JavaScript | MDN

    Jul 10, 2025 · The substring() method of String values returns the part of this string from the start index up to and excluding the end index, or to the end of the string if no end index is supplied.

  3. String.Substring Method (System) | Microsoft Learn

    Remarks You call the Substring (Int32) method to extract a substring from a string that begins at a specified character position and ends at the end of the string. The starting character position is zero …

  4. JavaScript Substring (): Extract a Substring from a String

    In this tutorial, you'll learn how to use the JavaScript substring() method to extract a substring from a string.

  5. Java String substring () Method - GeeksforGeeks

    Apr 11, 2025 · In Java, the substring () method of the String class returns a substring from the given string. This method is most useful when you deal with text manipulation, parsing, or data extraction. …

  6. Substring - Wikipedia

    Substring " string " is a substring of " substring " In formal language theory and computer science, a substring is a contiguous sequence of characters within a string. For instance, " the best of " is a …

  7. JavaScript substring() Method: Complete Guide with Examples

    Apr 3, 2026 · Master JavaScript's substring() method with visual examples, comparison with slice() and substr(), TypeScript usage, and real-world URL parsing patterns.

  8. JavaScript: String substring () method - TechOnTheNet

    This JavaScript tutorial explains how to use the string method called substring () with syntax and examples. In JavaScript, substring () is a string method that is used to extract a substring from a …

  9. What is the difference between substr and substring?

    Sep 19, 2010 · 6 substring (): It has 2 parameters "start" and "end". start parameter is required and specifies the position where to start the extraction. end parameter is optional and specifies the …

  10. Javascript String substring () - Programiz

    In this tutorial, we will learn about the JavaScript String substring () method with the help of examples. In this article, you will learn about the substring () method of String with the help of examples.