About 7,830 results
Open links in new tab
  1. 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.

  2. Java String substring () Method - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

  3. How to use subscript in java string? - Stack Overflow

    Jul 14, 2015 · The Java langauges and standard libraries deal with strings (sequences of characters). The question of what sequence of characters should be rendered as a subscript in print or on a …

  4. Master Java Substring Method: Examples, Syntax, and Use Cases

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

  5. Get Substring from String in Java - Baeldung

    Jul 21, 2024 · The practical ways of using the useful substring functionality in Java - from simple examples to more advanced scenarios.

  6. Java substring () Method – Tutorial With Examples

    Apr 1, 2025 · This tutorial will cover Java substring method. We will take a look at the syntax, brief introduction, examples & some useful concepts about Java substring.

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

    The Java String substring () method is used to retrieve a substring of a String object. The substring starts with the character at the given index and continues to the end of the current string.

  8. Mastering the `substring` Method in Java — javaspring.net

    Nov 12, 2025 · Whether you are parsing text, manipulating user input, or performing data extraction tasks, understanding how to use substring effectively is crucial. This blog post will delve into the …

  9. string - How to display subscript in java - Stack Overflow

    Jan 25, 2017 · Are you expecting us to write the solution for you? What have you tried so far? I guess you should create a method that breaks a number into its digits, converts every digit into its subscript …

  10. Java String substring () Method with examples - BeginnersBook

    Sep 17, 2022 · In this program, we are using indexOf () and substring () method of Java String class. We are finding the indexes of delimiters in the string using indexOf () method. Once we have the indexes …