CODE:
pos(uppercase(s1),uppercase(s2))CODE:
function mystuff:array of integer; var i : integer; begin setArraylength(result,10); for i := 0 to 9 do result[i] := i;end;Statistics: Posted by senso — 11 Nov 2017, 17:37
Statistics: Posted by sephult — 11 Nov 2017, 16:05
Statistics: Posted by oli_lab — 09 Nov 2017, 21:58
Statistics: Posted by woodslanding — 09 Nov 2017, 20:45
CODE:
var result : array [0..1] of integer;var inputString :string;inputString := 'This is where the password starts'';result := StrSearch( inputString , 'Pass' , 1 );//result[0] returns = 19 where 'p' begins regardless of case.//result[1] returns = 22 because 'pass' ended at position 22_ //irregardless of 'password'//Alternately, result[2] could be the count of matchesStatistics: Posted by sephult — 05 Nov 2017, 16:16
CODE:
pos(uppercase(s1),uppercase(s2))CODE:
function mystuff:array of integer; var i : integer; begin setArraylength(result,10); for i := 0 to 9 do result[i] := i;end;Statistics: Posted by senso — 11 Nov 2017, 17:37
Statistics: Posted by sephult — 11 Nov 2017, 16:05
Statistics: Posted by oli_lab — 09 Nov 2017, 21:58
Statistics: Posted by woodslanding — 09 Nov 2017, 20:45
CODE:
var result : array [0..1] of integer;var inputString :string;inputString := 'This is where the password starts'';result := StrSearch( inputString , 'Pass' , 1 );//result[0] returns = 19 where 'p' begins regardless of case.//result[1] returns = 22 because 'pass' ended at position 22_ //irregardless of 'password'//Alternately, result[2] could be the count of matchesStatistics: Posted by sephult — 05 Nov 2017, 16:16