Substring Method

String.Substring Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

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

Show:
© 2017 Microsoft