About 93,800 results
Open links in new tab
  1. C# String Substring () (With Examples) - Programiz

    The Substring () method returns a substring of a string. In this tutorial, we will learn about the C# Substring () method with the help of examples.

  2. C# - String Substring Examples - Dot Net Perls

    May 30, 2025 · We invoke Substring to extract parts of a string into a new string. We use 1 or 2 arguments—the first is the start index, and the second is the desired length.

  3. C# | Substring() Method - GeeksforGeeks

    Jul 11, 2025 · In C#, Substring () is a string method. It is used to retrieve a substring from the current instance of the string. This method can be overloaded by passing the different number …

  4. String.Substring Method (System) | Microsoft Learn

    Retrieves a substring from this instance. This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  5. C# `String.Substring ()`: Extracting Substrings from Strings

    Learn how to efficiently extract substrings from strings in C# using the `String.Substring ()` method. This tutorial explains its different versions, demonstrates its usage with code …

  6. How to Find Substring in a String in C# - Delft Stack

    Mar 11, 2025 · In this article, we will explore how to leverage these methods for efficient string manipulation, providing clear examples and detailed explanations to help you master substring …

  7. How can get a substring from a string in C#? - Stack Overflow

    Nov 9, 2021 · Here is an example of getting a substring from the 14th character to the end of the string. You can modify it to fit your needs. string text = "Retrieves a substring from this …

    Missing:
    • examples
    Must include:
  8. C# (C Sharp) | Strings | .Substring () | Codecademy

    Jul 29, 2025 · Example 1: Basic Usage of .Substring() This example demonstrates how to use the .Substring() method with a single parameter to extract characters from a specific position to …

    Missing:
    • examples
    Must include:
  9. How to find Substring in C# using Substring () - Examples

    In this C# Tutorial, we learned to find substring of a string with the help of examples. To get Substring of a string in C#, use Substring function on the string. string.Substring (int startIndex, …

  10. C# Substring Example: Exploring String Manipulation in C#

    Experiment with different scenarios and explore the versatility of the Substring method in your C# projects. Start leveraging the power of string manipulation in C# with the Substring method today!