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:

Mid East Persian Hammered Dulcimer Santoor 72 String
Mid East Persian Hammered Dulcimer Santoor 72 String
$438.50
Mid East HPBY Baby Harp Birch 21 Inches High
Mid East HPBY Baby Harp Birch 21 Inches High
$136.00
Mid East Persian Hammered Dulcimer Santoor 72 String Walnut + 2 Hammers
Mid East Persian Hammered Dulcimer Santoor 72 String Walnut + 2 Hammers
$438.50
Mid East Persian Hammer Dulcimer Santoor
Mid East Persian Hammer Dulcimer Santoor
$463.20
MID EAST LYRE HARP 10 STRING W TUNING TOOL EXTRA STRINGS GIGBAG
MID EAST LYRE HARP 10 STRING W TUNING TOOL EXTRA STRINGS GIGBAG
$171.75
Mid East 10 String Lyre Harp Walnut
Mid East 10 String Lyre Harp Walnut
$192.00
Mid East HPBY K Baby Harp Knotwork 12 String
Mid East HPBY K Baby Harp Knotwork 12 String
$136.00
Mid East HTHA Heather Celtic Harp 22 Strings
Mid East HTHA Heather Celtic Harp 22 Strings
$400.00
Mid East HLLA K Lily Harp Knotwork 8 String
Mid East HLLA K Lily Harp Knotwork 8 String
$59.20
Lily Harp TM 8 Strings Knotwork Mid East
Lily Harp TM 8 Strings Knotwork Mid East
$70.76
Mid East 16 Lyre Harp 10 String + String Set  Gig Bag
Mid East 16 Lyre Harp 10 String + String Set Gig Bag
$180.61
MID EAST MINI KINNOR HARP W TUNING TOOL GIGBAG WALNUT
MID EAST MINI KINNOR HARP W TUNING TOOL GIGBAG WALNUT
$68.93
MID EAST LYRE HARP 10 STRING WALNUT W TUNING TOOL GIGBAG EXTRA STRINGS
MID EAST LYRE HARP 10 STRING WALNUT W TUNING TOOL GIGBAG EXTRA STRINGS
$179.25
Mid East 16 King Davids Mini Kinnor Harp 10 String Walnut + String Set
Mid East 16 King Davids Mini Kinnor Harp 10 String Walnut + String Set
$85.70
Mid East Lyre Harp 10 String Walnut + Extra String Set  Gig Bag
Mid East Lyre Harp 10 String Walnut + Extra String Set Gig Bag
$187.99
Mid East HPTS Roosebeck Small Tuning Tool
Mid East HPTS Roosebeck Small Tuning Tool
$6.32


Recently Purchased Mid String:


lily harp tm 8 strings knotwork mideast, mid east persian hammered dulcimer santoor 72 string walnut 2 hammers, mideast lyre harp 10 string walnut extra string set amp; gig bag, mideast 16 king davids mini kinnor harp 10 string walnut string set , mideast lyre harp 10string walnut wtuning toolgigbagextra strings, mideast mini kinnor harp wtuning toolgigbag walnut, mideast 10string lyre harp walnut, mideast lyre harp 10string wtuning toolextra stringsgigbag, mideast persian hammer dulcimer santoor, mideast persian hammered dulcimer santoor 72 string, mid east hpts roosebeck small tuning tool, mideast 16 lyre harp 10 string string set amp; gig bag, mid east htha heather celtic harp 22 strings, mid east hpbyk baby harp knotwork 12string, mid east hpby baby harp birch 21 inches high, mid east hllak lily harp knotwork 8 string



Comments are closed.