Difference between revisions of "Between"
From SCAR Divi Manual
(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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
− | < | + | <source lang="scar" lines="false"> |
+ | function Between(const s1, s2, s: AnsiString): AnsiString; | ||
+ | </source> | ||
==Availability== | ==Availability== | ||
Line 9: | Line 11: | ||
==Example== | ==Example== | ||
+ | <source lang="scar"> | ||
begin | begin | ||
ClearDebug; | ClearDebug; |
Latest revision as of 10:48, 26 June 2011
Contents
Definition
function Between(const s1, s2, s: AnsiString): AnsiString;
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.
Output:
TEST