left

Copy the left portion of one string into another.

Syntax: left(s1,num,s2)

sl Required. The source String
num Required. The number of characters to copy
s2 Required. The destination string to place the characters int

Example:

Dim s1(10) As String, s2(10) As String
 
s1="abcdefg"
Call Left(s1,3,s2)   ' s2="abc"

Also See: right, mid