User Tools

Site Tools


syntax:functions:left

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:left [2015/04/03 17:48] elenapsyntax:functions:left [2015/05/26 09:22] dmitry
Line 1: Line 1:
 ===== Left(text, N) ===== ===== Left(text, N) =====
  
-Returns //N// symbols left of the specific //text//, where //N// is a number. First argument is implicitly converted into text, if required+Returns //N// left symbols of the specific //text//, where //N// is a number. First argument is implicitly converted into text, if required.
- +
-Note that the expression does not require to use single quote signs ('X') around the number N.+
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-|  left('Los Angeles', 4)  |  Los  | +|  left('Los Angeles', 3)  |  Los  | 
-|  left('IT services', 3)  |  IT  |+|  left('IT services', 2)  |  IT  |
  
 **See also** **See also**
   * [[syntax:functions:right]]   * [[syntax:functions:right]]
   * [[syntax:functions:mid]]   * [[syntax:functions:mid]]
syntax/functions/left.txt · Last modified: 2021/08/14 22:15 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki