Left                                                                                                            Function

 

LEFT(theString as String, num as Integer)

 

Description

Returns the leftmost num characters of theString . If theString has less than num characters, then the result will be theString.

 

Example

Dim result as String

Result=Left("John Doe", 6) 'would set result to "John D"