User Tools

Site Tools


syntax:functions:removeend

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:removeend [2015/02/02 21:59] – created dmitrysyntax:functions:removeend [2015/03/27 14:15] 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 apostrophe 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:keepafter]]+  * [[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