我寫的,可以是遞歸的方法,但返回值始終爲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