Mid String

Reversing a string in vb.net?

Ok, i know that this is an easy assignment, but i just cant thing of what to do., were supposed to have the user input a string and then it just reverses it, anyone have any idea what im supposed to do to make it reverse?
thanks

Use string functions and a for/next loop:

RevString$=""
For Cnt = LEN(string$) to 1 Step = -1
RevString$=RevString$+Mid$(String$,cnt,1)
Next Cnt

Hope this helps... or at least get's you on your way!

Discover Mid String On eBay Below:



Recently Purchased Mid String:


mid east 26 inch nevel harp 15 string gig bag amp; tuning tool, mideast lyre harp 8 string, mideast learning to play the lute book by degroodt, mid east persian hammered dulcimer santoor 72 string walnut 2 hammers, mid east hblpc roosebeck balladeer harp gig bag new free 2day shipping, mideast persian hammer dulcimer santoor, mideast persian hammered dulcimer santoor 72 string, mid east hpts roosebeck small tuning tool, mid east hpby baby harp birch 21 inches high 12 strings new free shipping, mid east htha heather celtic harp 22 strings



Comments are closed.