User Tools

Site Tools


syntax:functions:keepbetween

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.txt · Last modified: 2016/06/08 00:13 by dmitry