About 87,500 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 - MDN Web Docs

    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. 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 …

  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. std::basic_string<CharT,Traits,Allocator>:: - cppreference.com

    Return value String containing the substring [pos, pos + count) or [pos, size ()). Exceptions std::out_of_range if pos > size(). If an exception is thrown for any reason, these functions have no …

  7. 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.

  8. 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.

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

    Jun 27, 2017 · The substring () method returns a subset of a string between one index and another, or through the end of the string.

  10. What is the difference between substr and substring?

    Sep 19, 2010 · 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 …