syntax:functions:keepbetween
This is an old revision of the document!
KeepBetween(text, stringA, stringB)
Returns characters between the first occurrence of stringA and the first occurence of stringB in text. Parameters stringA and stringB must not be empty. This function is case-sensitive.
Example | Result |
---|---|
keepbetween( 'http://easymorph.com', 'http://', '.com' ) | easymorph |
keepbetween('192.168.0.1 "GET /download.html HTTP/1.1"','/', ' ') | download.html |
See also
syntax/functions/keepbetween.1465359238.txt.gz · Last modified: 2016/06/08 00:13 by dmitry