User Tools

Site Tools


syntax:functions:keepafter

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
syntax:functions:keepafter [2021/08/02 01:23] – [Arguments] craigtsyntax:functions:keepafter [2021/12/23 05:35] (current) – [Examples] dmitry
Line 30: Line 30:
 =====Examples===== =====Examples=====
  
-  keepafter('a/b/c/d', 'b''/c/d' +  keepafter('a/b/c/d', 'b'//Returns '/c/d' 
-  keepafter('a/b/c/d', '/''b/c/d' + 
-  keepafter('a/a/b/b/c/d', 'b/''b/c/d'  //Second argument can be multiple characters +  keepafter('a/b/c/d', '/'//Returns 'b/c/d' 
-  keepafter('a/b/c/d', '/', 2) 'c/d'  //Keep text after the second instance of '/' + 
-  keepafter('a/b/c/d', '/', -1) 'd'  //Keep text after the second instance of '/', from the end +  keepafter('a/a/b/b/c/d', 'b/'//Returns 'b/c/d'  (Second argument can be multiple characters
-  keepafter('a/b/c/d', 'z'(empty)  //'z' not found within the text value+ 
 +  keepafter('a/b/c/d', '/', 2) //Returns 'c/d'  (Keep text after the second instance of '/'
 + 
 +  keepafter('a/b/c/d', '/', -1) //Returns 'd'  (Keep text after the first instance of '/', from the end
 + 
 +  keepafter('a/b/c/d', 'z'//Returns (empty)  ('z' not found within the text value)
  
 \\  \\ 
syntax/functions/keepafter.txt · Last modified: 2021/12/23 05:35 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki