I'm trying to gather information from a table, but **_IETableGetCollection** doesnt seem to work for me. I'm trying to get whats between tags. <span class="sort-data hide">object</span> I tried _stringbetween but I think the quotes messed it up. So I tried singles ( ' ) but all it would send me is "0" . Is string between what I want? #Include <String.au3>
#include <Array.au3>
$file = FileOpen("test.txt", 0)
; Check if file opened for reading OK
If $file = -1 Then
MsgBox(0, "Error", "Unable to open file.")
Exit
EndIf
;~ ; Read in 1 character at a time until the EOF is reached
While 1
$chars = FileRead($file)
$b=_stringbetween($chars,"<strong>","</strong>")
If @error = -1 Then ExitLoop
_ArrayDisplay($b)
; MsgBox(0, "Char read:", _arraytostring($b,@tab,0,0))
Wend In this example I got <strong> and </strong> to display into an array, but I couldn't seem to get just the first instance of the tag. Any help would be great. Chad PS the script I started from was an example from here, I just chopped it up. I dont claim this as 100% me.