Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System
String Class
String Methods
Substring Method
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:

Want more? Here are some additional resources on this topic:

.NET Framework Class Library
String.Substring Method

Retrieves a substring from this instance.

Name Description
String.Substring (Int32) Retrieves a substring from this instance. The substring starts at a specified character position.

Supported by the .NET Compact Framework.

String.Substring (Int32, Int32) Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.

Supported by the .NET Compact Framework.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker