You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 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 

Remarks

  1. "NullString" is considered as a DETERMINED emty string.
  2. 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


LEFT$("Qnowledge Wageningen", 0)

returns

"NullString"


LEFT$("Qnowledge Wageningen", 50)

returns


 

Quick links: Function overview | Attribute overview | Constants overview | Dimensions overview

  • No labels