About 37,000,000 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. Substrings: A Comprehensive Guide - GeeksforGeeks

    Jul 23, 2025 · In this blog post, we'll explore what substrings are, their full form, use cases, examples, when to use them, when to avoid them, best practices, common problems, and …

  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. Master Java Substring Method: Examples, Syntax, and Use Cases

    Feb 20, 2025 · Learn how to use the Java substring method. Explore syntax, practical examples, and common errors to handle substrings effectively.

  5. JavaScript Substring (): Extract a Substring from a String

    Summary: in this tutorial, you’ll learn how to use the JavaScript substring() method to extract a substring from a string. The substring() method returns the part of the string from the start …

  6. Get Substring from String in Java - Baeldung

    Jul 21, 2024 · Let’s start with a very simple example here – extracting a substring with the start index: text.substring(67)); Note how we extracted Julia’s country of residence in our example …

  7. substring ()

    Learn Java substring () method to extract parts of strings using startIndex & endIndex. Master string manipulation, handle edge cases like IndexOutOfBounds, and optimize performance. …

  8. Java | Strings | .substring() | Codecademy

    Feb 24, 2023 · The .substring() method in Java returns a portion of a string from a specified starting index to an (optional) ending index. If an ending index is not provided, the substring …

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

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