L
lindeping
Unregistered / Unconfirmed
GUEST, unregistred user!
如何判断一个字符串属于一个字符串集合中,类似于:
var str1:string;
begin
...
if (str1 in ['sss','ssee','dssef']) then
...
end;
(不过执行时汇报类型错误,此处不过举例)
var str1:string;
begin
...
if (str1 in ['sss','ssee','dssef']) then
...
end;
(不过执行时汇报类型错误,此处不过举例)