About 78,900 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.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 …

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

  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. Extract a Substring – Online String Tools

    Simple, free and easy to use online tool that extracts substring. No intrusive ads, popups or nonsense, just a substring extractor. Load a string, get a substring.

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

  10. PHP: substr - Manual

    See Also ¶ strrchr () - Find the last occurrence of a character in a string substr_replace () - Replace text within a portion of a string preg_match () - Perform a regular expression match trim () - Strip …