Over a million developers have joined DZone.

Insert () Method On The String Type

·
Insert () method on the string type


        string sentence = "Dzone Links";
	sentence = sentence.Insert(7, "Snippet ");
	Console.WriteLine(sentence);


Output: Dzone Snippet Links
Topics:

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

{{ parent.tldr }}

{{ parent.urlSource.name }}