User Tools

Site Tools


syntax:functions:keepbetween

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:keepbetween [2021/08/02 02:15] – [Remarks] craigtsyntax:functions:keepbetween [2021/08/14 22:11] (current) – [Examples] craigt
Line 28: Line 28:
 \\  \\ 
 =====Examples===== =====Examples=====
-  keepbetween('http://easymorph.com', 'http://', '.com''easymorph' +  keepbetween('http://easymorph.com', 'http://', '.com'//Returns 'easymorph' 
-  keepbetween('192.168.0.1 "GET /download.html HTTP/1.1"', '/', ' 'download.html + 
-  keepbetween('Mary Joe Smith', 'Mary ', ' Smith''Joe'+  keepbetween('192.168.0.1 "GET /download.html HTTP/1.1"', '/', ' '//Returns download.html 
 + 
 +  keepbetween('Mary Joe Smith', 'Mary ', ' Smith'//Returns 'Joe' 
 + 
 +  keepbetween('Mary Joe Smith', 'Mark ', ' Smith') //Returns 'Mary Joe'  ('Mark' not found) 
 + 
 +  keepbetween('Mary Joe Smith', 'Mary ', ' Jones') //Returns 'Joe Smith'  ('Jones' not found) 
 + 
 +  keepbetween('Mary Joe Smith', 'Mark ', ' Jones') //Returns (empty)  (Neither 'Mark' nor 'Jones' are found) 
 + 
  
 \\  \\ 
syntax/functions/keepbetween.txt · Last modified: 2021/08/14 22:11 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki