Left - Right - Mid Functions
Posted on 2000-02-10
I am having a lot of trouble
understanding the Left - Right and Mid functions and how they work. If i gave you an example of one could you break it down and explain to me what each piece of code is doing?
Lets say that FirstString = < and SecondString = > Lets say TheWholeString = <L>
We will use the Mid Function As the example.
Text1.Text = Mid$(TheWholeString,_ InStr(TheWholeString,_
FirstString) + Len(FirstString),_ InStr(TheWholeString,_
SecondString) - (Len(FirstString) +_
I know after running this code, text1.text would = L
but i cant figure out how it does this. Can you explain
to me what each piece of code in the brackets is doing.