我写的,可以是递归的方法,但返回值始终为0,即使它有一个值在控制台上的字符串:的AutoIt - 返回值始终为0
Func hasItTheThing($s)
$result = StringInStr(...,...)
local $newstring
$newstring = $s
If NOT $result > 0 Then
ConsoleWrite("newstring = " & $newstring & @CRLF)
return $newstring
Else
$newstring = ;Fix something with the string
hasItTheThing($newstring)
EndIf
EndFunc