Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

string.insert in c# doesn't overwrite does it?

Tags:

c#

string.insert in c# doesn't overwrite the character that is in the startindex does it?

like image 748
mrblah Avatar asked Aug 31 '26 03:08

mrblah


1 Answers

For example, the return value of "abc".Insert(2, "XYZ") is "abXYZc".

So, no.

http://msdn.microsoft.com/en-us/library/system.string.insert.aspx

like image 72
Greg Avatar answered Sep 01 '26 18:09

Greg