StringBuilder.Chars : StringBuilder « System.Text « VB.Net by API






StringBuilder.Chars

  

Imports System.Text


Module Module1

    Sub Main()
        Dim SB As StringBuilder = New StringBuilder(26)
        SB.Append("ABCDEFGHIJKLMNOPQRSTUVWYZ")

        SB.Chars(4) = "e"
        SB.Chars(0) = "a"
        SB.Replace("aBCDe", "ABCDE")


        Console.WriteLine("Ending StringBuilder: " & SB.ToString())
    End Sub

End Module

   
    
  








Related examples in the same category

1.StringBuilder.Append
2.StringBuilder.AppendFormat
3.StringBuilder.EnsureCapacity
4.StringBuilder.Insert
5.StringBuilder.Replace