View Single Post
Old Aug 23rd, 2005, 12:16 PM   #5
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Smile

Quote:
Originally Posted by coldDeath
I have no experiance in BASIC, so please explain what the mid$() function does, then i can help you out.
SubStr$ = MID$(MainStr$, Start% [, Length%])

returns a substring of a string
SubStr$ = MID$("abcdefg",3,4)
' Result: SubStr$ will equal "cdef"

SubStr$ = MID$("abcdefg",2)
' Result: SubStr$ will equal "bcdefg"
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote