Syntax :
Left (strExpression , IngLength )
LeftB ( strExpression , IngLength )
strExpression : Specifies the string from which you want to return then IngLenght leftmost characters.
IngLength : Specifies the number of characters of the returned substring.
Left (strExpression , IngLength )
LeftB ( strExpression , IngLength )
strExpression : Specifies the string from which you want to return then IngLenght leftmost characters.
IngLength : Specifies the number of characters of the returned substring.
Dim strDolly as String , strHello as String
strDolly = "Hello, Dolly!"
strHello = Left ( strHello , 5)
the five leftmost characters from strDolly to the variable strHello , giving it a value of "Hello".
strDolly = "Hello, Dolly!"
strHello = Left ( strHello , 5)
the five leftmost characters from strDolly to the variable strHello , giving it a value of "Hello".
No comments:
Post a Comment