How do I write an entire array to the same line of a file? Since I've posted this I've gotten the below code to work, but this doesn't seem like the right way to do this.
;$file is a file containing multiple xml entries containing <genre> $genre = _StringBetween($file, "<genre>", "</genre>" $array = Ubound($genre) $i = 0 FileWriteLine("genres.xml", "<genres>") Do $file = FileOpen("genres.xml") $read = FileReadLine($file, 1) _FileWriteToLine("genres.xml", 1, $read & $genre[$i] & " / ",1) FileClose($file) $i = $i + 1 Until $i = $array