See Mid
>Hi,
>
>Which function is equivalent to
>
>subs(code,1,4) in VFP.
>
>this function return first four character from code string in VFP. I want to get same in VB please write to get equivalent result in VB.
>
>TIA
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com