举报
$str = '指定字符串' $i= 1 While 1 $a = FileReadLine("1.txt",$i) If @error = -1 then Exitloop IF StringInStr($a, $str) <> 0 Then MsgBox (64, 0, $str & ' 在第 ' & $i & ' 行 ') $i += 1 WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-3 04:47 , Processed in 0.107502 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.