User Tools

Site Tools


syntax:functions:keepbefore

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:keepbefore [2021/03/23 19:07] dmitrysyntax:functions:keepbefore [2021/03/23 19:08] dmitry
Line 5: Line 5:
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-|  KeepBefore( '5pm', 'pm' )  |  '5'  |+|  keepbefore( '5pm', 'pm' )  |  '5'  |
 |  keepbefore('October 2015','2015' |  'October '  | |  keepbefore('October 2015','2015' |  'October '  |
  
Line 11: Line 11:
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-|  KeepBefore( 'a/b/c/d', '/', 2)  |  'a/b'  |+|  keepbefore( 'a/b/c/d', '/', 2)  |  'a/b'  |
 |  keepbefore( 'a/b/c/d', '/', -1)  |  'a/b/c'  | |  keepbefore( 'a/b/c/d', '/', -1)  |  'a/b/c'  |
  
syntax/functions/keepbefore.txt · Last modified: 2021/08/14 22:09 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki