$yes = False
$N1 = IniReadSectionNames("test.ini")
For $j = 1 To $N1[0]
$N2 = IniReadSection("test.ini", $N1[$j])
For $k = 1 To $N2[0][0]
If StringInStr($N2[$k][1], "ttt") Then
MsgBox(0, "找到了", "在字段:[" & $N1[$j] & "],关键字为" & $N2[$k][0] )
$yes = True
ExitLoop
EndIf
Next
If $yes = True Then ExitLoop
Next
if $yes=False Then
Msgbox(0,"没找到","没有找到匹配的内容!")
Endif