About 82,100 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

    The starting character position is zero-based; in other words, the first character in the string is at index 0, not index 1. To extract a substring that begins at a specified character position and ends before the …

  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. Java String substring () Method - W3Schools

    Definition and Usage The substring() method returns a substring from the string. If the end argument is not specified then the substring will end at the end of the string.

  5. SUBSTRING (Transact-SQL) - SQL Server | Microsoft Learn

    Jan 9, 2026 · The SUBSTRING function returns a portion of a specified character, binary, text, or image expression.

  6. Substrings: A Comprehensive Guide - GeeksforGeeks

    Jul 23, 2025 · Definition: A substring is a contiguous sequence of characters within a larger string. It is essentially a smaller portion of a string extracted from the original string. Substrings are often used …

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

  8. std::basic_string<CharT,Traits,Allocator>:: - cppreference.com

    Returns a substring [pos, pos + count). If the requested substring extends past the end of the string, i.e. the count is greater than size() - pos (e.g. if count == npos), the returned substring is [pos, size()).

  9. Substring - Wikipedia

    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 substring of " It was the best of times ".

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