0

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

1
Contributor
1
Reply
10
Views
3 Years
Discussion Span
Last Post by joshuajames.delacruz
0

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
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.