About 18,500,000 results
Open links in new tab
  1. Subsequence and Substring - GeeksforGeeks

    May 16, 2025 · What is a Substring? A substring is a contiguous part of a string, i.e., a string inside another string. In general, for an string of size n, there are n*(n+1)/2 non-empty …

  2. 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). …

  3. What is Substring in Python and How to Create a Substring - Simplilearn

    May 5, 2025 · This article focuses on the concept of the substring in python and how it works. What Is a Substring in Python? Part of a string is known as a substring. There are multiple …

  4. What is a String in Programming: AP® CS Principles Review

    May 19, 2025 · Strings often come with a set of helpful methods that streamline coding tasks. Here are a few examples used in many programming languages: length() or len(): Returns the …

  5. Java String substring() - Programiz

    The Java substring() method extracts a part of the string (substring) and returns it. public static void main(String[] args) { String str1 = "java is fun"; // extract substring from index 0 to 3. …

  6. Everything You Need to Know about Substring in Python

    Nov 28, 2024 · In this article, we will understand substring in python and how it works in the following manner: What is a Substring in Python? In python substring is a sequence of …

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

  8. Python Substring | Introduction | What is Substring? - EDUCBA

    Jul 24, 2023 · Substring is a term used for describing a part or a portion of a string that can be extracted from the main string. For instance, ‘stand’ is a substring of ‘understand’. In python, …

  9. Java String substring() Method - W3Schools

    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.

  10. Substring in Java with Examples - First Code School

    Jan 10, 2024 · The substring() method returns a new string that is a portion of the given string. The portion begins at the specified start index (inclusive) and ends at the specified end index …

  11. Some results have been removed
Refresh