About 238,000 results
Open links in new tab
  1. String.Substring Method (System) | Microsoft Learn

    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 …

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

  4. substr () in C++ - GeeksforGeeks

    Sep 19, 2025 · In C++, the string substr () function is used to extract a substring from the given string. It generates a new string with its value initialized to a copy of a sub-string of the given …

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

  6. JavaScript String substring () Method - Online Tutorials Library

    The JavaScript String substring () method is used to retrieve a part of a string from the original string starting from the specified startIndex up to indexEnd (excluding this), and if the …

  7. JavaScript String substring () Method: Extracting Substrings

    Feb 6, 2025 · A comprehensive guide to the JavaScript String substring () method, covering syntax, usage, and practical examples for extracting substrings.

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

  9. JavaScript substring (): How to Extract Substrings Easily in JS

    Oct 14, 2025 · Master JavaScript substring () method to extract string parts efficiently. Learn syntax, parameters, differences from slice (), with code examples and best practices for …

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