string Left (string string, int
count)
Return Value
A string, containing a copy of the
specified range of characters.
Parameters
string – a string that needs to be processed.
count – the number of characters to extract
Remarks
Extracts the first (that is,
leftmost) count characters from this string object
and returns a copy of the extracted substring. If specified number
of characters is invalid, returns empty string.
Example
The following example demonstrates
the use of Left.