判断字符串是否已在TStrings列里已存在


if strings.indexof(要检查的字符串)=-1 then
showmessage(不存在要检查的字符串!);



发表评论

您的电子邮箱地址不会被公开。

37 − = 33