Returns a specified number of characters from the left side of a string.QTP-left

Syntax –

Left(string, length)

Example –

Dim MyString, LeftString
MyString = "VBSCript"
LeftString = Left(MyString, 3) ' LeftString contains "VBS".