User Tools

Site Tools


syntax:functions:removestart

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
syntax:functions:removestart [2015/03/27 17:02] elenapsyntax:functions:removestart [2015/04/03 18:10] elenap
Line 1: Line 1:
 ====== RemoveStart(text, N) ====== ====== RemoveStart(text, N) ======
  
-Returns the //'text'// without the first //N// characters including spaces. Parameter //N// must be greater than 0+Returns the //text// without the first //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  ^
-|  RemoveStart( '(555)555-5555', 5 )  |  555-5555 +|  removestart( '(555)555-5555', 5 )  |  555-5555 
-|  removestart('the company',4)  |  555-5555  |+|  removestart('the company',4)  |  company  |
  
 === See also === === See also ===
   * [[syntax:functions:keepafter]]   * [[syntax:functions:keepafter]]
   * [[syntax:functions:removeend]]   * [[syntax:functions:removeend]]
syntax/functions/removestart.txt · Last modified: 2021/08/15 02:54 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki