Dolphin.com.bd

Office Suite Tutorial => Microsoft Office Access => Topic started by: bbasujon on August 15, 2012, 05:17:51 PM

Title: Microsoft Access Function Library: Left()
Post by: bbasujon on August 15, 2012, 05:17:51 PM
Function: Left()

Purpose: The Left() function returns the specified number of characters of a string, beginning with the leftmost character.

Usage: Left(string, n)

Returns: The leftmost n characters of the specified string.

Example:

Dim MyString() As String = {"Testing, Testing, 123"}
Dim ResultString As String = Left(MyString, 7)

In this example, ResultString would contain "Testing"