On Wed, 10 Oct 2018, Dennis wrote:
is there a function like
if IsOneOf('subtext', ['abc','cde','fecg','hig']) then begin
...
end;
is there such a function IsOneOf(TheSubString : String; const TheStrings
: array of String) : Boolean
?
if yes, what is its name and unit?
IndexStr in strutils:
https://www.freepascal.org/docs-html/current/rtl/strutils/indexstr.html
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal