About 82,600 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. 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. 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 …

  6. Substrings: A Comprehensive Guide - GeeksforGeeks

    Jul 23, 2025 · Substrings are a fundamental concept in computer science and programming. They play a crucial role in various applications, from text manipulation to data processing. In this blog post, we'll …

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

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