@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
Parsing all lines from text file
-
Hello,
I am currently having some issues while parsing a list of 1000 lines (text file).
-
Create list - > NPC list
-
Reading file to list;
Result: 26-k�pfiger Salamander,Aasgeier,Aasgeier,Abgesandter der Eiswelt (Oberfl�che),Abgesandter der Eiswelt (Vorhof der Eiswelt) -
Parse String
Result: TypeError: Result of expression '(VAR_NPCLIST).split' [undefined] is not a function.
Any ideas or workarounds?
-
-
@huntenkill said in Parsing all lines from text file:
VAR_NPCLIST
VAR_NPCLIST is already list I guess. There is no split() function in javascript for array types. Split() works for string types.