Left
Left Function
Returns the specified number of character or characters from the beginning of a specified text string, based on the number of characters specified in the scalar input.
Syntax
Left (scalar String Value, scalar Length)
Arguments
| Argument | Description |
|---|---|
scalar StringValue | Text string to be evaluated |
scalar Length | Number of characters (counting from the left side of the string) to be returned |
Examples:
Left('Newspaper',4)
Returns leftmost 4 characters of the string 'Newspaper'.