String.Substring Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSubstring(Int32)

Retrieves a substring from this instance. The substring starts at a specified character position and continues to the end of the string.

System_CAPS_pubmethodSubstring(Int32, Int32)

Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.

Return to top
Show: