Between

From SCAR Divi Manual
Revision as of 18:33, 25 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <func>function Between(const s1, s2, s: AnsiString): AnsiString; </func> ==Availability== SCAR Divi 3.00 > Current ==Description== Searches 2 [[AnsiString|string...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

<func>function Between(const s1, s2, s: AnsiString): AnsiString; </func>

Availability

SCAR Divi 3.00 > Current

Description

Searches 2 strings s1 and s2 in another string s and returns the text in between them if they are found.

Example

begin

 ClearDebug;
 WriteLn(Between('Testing this ', ' function', 'Testing this TEST function'));

end. </source>

Output:

TEST