Javatpoint Logo
Javatpoint Logo

C# String SubString()

The C# SubString() method is used to get a substring from a String. The substring starts at a specified character position and continues to the end of the string.



index: it is an integer type parameter which is used to pass index to get a substring.


It returns a string.

C# String SubString() Method Example


C Sharp

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials

B.Tech / MCA