About 1,280,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. Substring Java Example - Java Code Geeks

    Dec 24, 2013 · Check out our detailed Substring Java example ! We will show how to use the Java substring() API method, it's syntax and a full example with source code!

  3. Java String substring () with Examples - HowToDoInJava

    Java String substring () Learn to find the substring of a string between the begin and end indices, and valid values for both indices with examples.

  4. Java - String substring () Method - Online Tutorials Library

    This method has two variants and returns a new string that is a substring of this string. The substring begins with the character at the specified index and extends to the end of this string or up to …

  5. Java String substring () method - Tpoint Tech

    Mar 17, 2025 · Java, being a versatile and widely-used programming language, provides a rich set of functionalities for handling strings. One powerful feature that developers often leverage is the …

  6. Java substring () Method - HappyCoders.eu

    Jun 12, 2025 · How to use Java's String.substring() method? How does substring() work internally, and how has the implementation changed over time?

    • Reviews: 25
    • 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.

    • Java String substring () example

      In this guide, you will learn about the String substring() method in Java programming and how to use it with an example.

    • Substring in Java (with examples) - FavTutor

      Nov 5, 2023 · In Java, the substring is a powerful method that allows developers to extract subsets or parts of a string. By using the substring () method, you can create smaller strings from a bigger one …

    • JavaScript String substring () Method - GeeksforGeeks

      Jan 16, 2026 · In this case, substring (7, 12) extracts the portion of the string from index 7 to index 11, resulting in "World". Extracting Substrings by Character Index One common use case for substring () …