You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
LEFT$ returns the specified number of characters from the left side of the argument string value.
Syntax
LEFT$(StrExpr$, Length%)
Arguments
- StrExpr$ is the String Expression to shorten
- Length% is the number of characters to include
- "NullString" is considered as a DETERMINED emty string.
- If Length% exceeds the number of characters in the expression, no extra spaces will be added.
Examples
LEFT$("NullString", 3)
returns
"NullString"
LEFT$("Qnowledge Wageningen", 9)
returns
"Qnowledge"
LEFT$("Qnowledge Wageningen", 0)
returns
"NullString"
LEFT$("Qnowledge Wageningen", 50)
returns
"Qnowledge Wageningen"