syntax:functions:keepafter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syntax:functions:keepafter [2015/03/27 14:00] – elenap | syntax:functions:keepafter [2021/03/23 19:07] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== KeepAfter(text, | ====== KeepAfter(text, | ||
- | Returns characters after the first occurrence of specific //'string'// in the given //'text'//. Case-sensitive. Parameter //string// must be not empty. | + | Returns characters after the first occurrence of specific //string// in //text//. Parameter //string// must not be empty. |
+ | This function is case-sensitive. | ||
^ Example | ^ Example | ||
- | | KeepAfter( ' | + | | KeepAfter( ' |
| keepafter( ' | | keepafter( ' | ||
+ | |||
+ | The functions can have the optional third parameter with the index of the separator. The index can be negative - in this case, it's counted from the end of the text. | ||
+ | |||
+ | ^ Example | ||
+ | | KeepAfter( ' | ||
+ | | KeepAfter( ' | ||
=== See also === | === See also === | ||
* [[syntax: | * [[syntax: | ||
* [[syntax: | * [[syntax: |
syntax/functions/keepafter.txt · Last modified: 2021/12/23 05:35 by dmitry