| Description | 
Left (Magic xpa 4.x)
| 
 Returns a specified number of characters from an Alpha string, starting from the leftmost character. 
 |  | 
 Syntax: 
 | 
 Left(string, length) 
 |  | 
 Parameters: 
 | 
 string: An Alpha string. 
 |  | 
   
 | 
 length: The number of characters to be returned, starting from the leftmost character. 
 |  | 
 Returns: 
 | 
 Output Alpha string 
 |  | 
 Example: 
 | 
 Left('abcdefg',3) returns 'abc' 
 |  | 
 See also: 
 | 
 Right, MID 
The Online and Rich Client Samples projects (program ST09 and RST09) 
 |  
   |  
  | 
|---|