Posts by user3045763 • 1 point
1 post
-
0
votes3
answers8755
viewsA: What is the best way to replace a character in a given String position?
In general I end up using Stringbuilder: var theString = "ABCDEFGHIJ"; var aStringBuilder = new StringBuilder(theString); aStringBuilder.Remove(3, 2); aStringBuilder.Insert(3, "ZX"); theString =…