Get CharEnumerator from a String : CharEnumerator « Collections « VB.Net Tutorial






public class Test
   public Shared Sub Main
        Dim S As String = "Welcome to VB"
        Dim Enumerator As CharEnumerator = S.GetEnumerator
    
        While (Enumerator.MoveNext())
          Console.WriteLine(Enumerator.Current())
        End While

   End Sub
End class
W
e
l
c
o
m
e

t
o

V
B








8.25.CharEnumerator
8.25.1.Get CharEnumerator from a String