Mid() Function by Dave J11th Sep 2004 20:08
|
---|
Summary Extracts text from a string at the given position and for the given length. Description Extracts text from a string at the given position and for the given length. Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Print Mid("Denise", 2, 3) Wait Key End Function Mid(Str As String, Start As Integer, Length As Integer) S1$ = Right$(Str, (Len(Str) - Start)) Result$ = Left$(S1$, Length) EndFunction Result$ |