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


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

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

− 3 = 1