About 89,400 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. 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.

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

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

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

  8. What is the difference between substr and substring?

    Sep 19, 2010 · There are some additional subtleties between substr () and substring () such as the handling of equal arguments and negative arguments. Also note substring () and slice () are similar …

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

    Apr 3, 2026 · JavaScript's substring () method extracts characters between two index positions in a string and returns the result as a new string. It is one of the most commonly used string methods in …

  10. String (Java Platform SE 8 ) - Oracle Help Center

    Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence. The replacement proceeds from the beginning of the string to the end, for …