Compartilhar via


String.Substring Method

Retrieves a substring from the current String object.

Overload List

Name Description
String.Substring (Int32) Retrieves a substring from the current String object. The substring starts at a specified index number, or character position, in the String object.
String.Substring (Int32, Int32) Retrieves a substring from the current String object. The substring starts at a specified index number, or character position, in the String object and has a specified length.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

String Class
String Members
System Namespace