Showing posts with label Splitting Strings (Visual Basic 2008/2010). Show all posts
Showing posts with label Splitting Strings (Visual Basic 2008/2010). Show all posts

Sunday, January 23, 2011

String Manipulation using MID Methods

this program used Mid function performs a direct operation on astring and assigns to value to bstring and show it in txt2 
here is the code of this program. it is under button execute

Dim astring As String
Dim bstring As String
astring = txt1.Text
bstring = Mid(astring, 3, 3)
txt2.Text = bstring