I have done a search on the forums as well as the help file, but couldn't really find anything.
I don't suppose there is a function to do something like this;
Where it tells you, how many of a "Certain" thing is in the given string.
I don't suppose there is a function to do something like this;
[ autoit ]
$Temp = Amount(', , , , , , , ', ',') ConsoleWrite('The Amount of , in the string was ' & $Temp) Func Amount($String, $SubString) Local $Temp = 1 While StringInStr($String, $SubString, 1, $Temp) $Temp += 1 WEnd Return $Temp-1 EndFunc
Where it tells you, how many of a "Certain" thing is in the given string.