User Tools

Site Tools


syntax:functions:removeend

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:removeend [2015/02/02 22:05] dmitrysyntax:functions:removeend [2015/03/27 17:02] elenap
Line 1: Line 1:
 ====== RemoveEnd(text, N) ====== ====== RemoveEnd(text, N) ======
  
-Returns //text// without last //N// characters. Parameter //N// must be greater than 0.+Returns the //'text'// without the last //N// characters including spaces. Parameter //N// must be greater than 0
 + 
 +Note that the expression does not require to use single quote signs ('X') around the number //N//.
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-|  RemoveEnd( '1000 USD', 4 )  |  '1000'  |+|  RemoveEnd( '1000 USD', 4 )  |  1000  | 
 +|  removeend('October 1, 2014', 6)  |  October 1  |
  
 === See also === === See also ===
   * [[syntax:functions:keepbefore]]   * [[syntax:functions:keepbefore]]
   * [[syntax:functions:removestart]]   * [[syntax:functions:removestart]]
syntax/functions/removeend.txt · Last modified: 2021/08/15 02:52 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki