syntax:functions:keepafter
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
|
syntax:functions:keepafter [2021/08/14 22:06] craigt [Examples] |
syntax:functions:keepafter [2021/12/23 05:35] (current) dmitry [Examples] |
keepafter('a/b/c/d', '/', 2) //Returns 'c/d' (Keep text after the second instance of '/') | 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 second instance of '/', from the end) | 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) | 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