Over a million developers have joined DZone.

Substring() Method Of Type String

·
Substring() method of type string


        string sentence = "Dzone snippet";
	Console.WriteLine("Substring: {0}", sentence.Substring(0, 4));
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}