Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to convert a string into a string in VB.NET and get each character of it
How to convert a string into a string in VB.NET and get each character of it

VB.NET integer i is converted into string s, and string s is converted into character array CharArr:

Dim i As Integer = 12345

Dim s As String

Dim CharArr As Char()

s = i.ToString()

CharArr = s.ToCharArray()

Reverse the CharArr array:

Array.Reverse(CharArr)