Hello community,
I'm trying to do something but this got me
local $file = FileOpen ( "archivo.txt" ,1 ), $array[5] If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf FileSetPos ( $file, 0, 0 ) $aux = FileReadLine($file,1) MsgBox(0,"asd",$aux) $aux2 = StringReplace($aux, "|", @CRLF) $msg = MsgBox(0,"asd2",$aux2) MsgBox(0,"asd",$text) FileClose($file)
So it will convert:
XXXX|XXXX|XXXX
into:
XXXX XXXX XXXX
But the problem is that I want that to fill an array like this:
array[0]=XXXX array[1]=XXXX array[3]=XXXX
Any way to do that?
thanks for read!