I have this simple problem but im still newb to vb.net where i should

Reverse the "hello world"

and the result "olleh"

without the world

without using any function like strReverse() its very hard for me any ideas would be helpful

i have coded it and it turned out to be ok

Dim input As String
Dim result As String = “”
Dim len As Integer
Dim a, b As Integer
input = TextBox1.Text
len = input.Length
a = len – 1
For b = 0 To a
result = result & input.Chars(a)
a = a – 1
Next
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.