@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.
I am looking for keywords that appear in a link or in a text.
I use BAS to load any web page.
For example, abc.com.
Then I will use the HTML Page to save the entire HTML of the current page.
Next, I have a keyword, for example, 'abc xyz'.
I want to find 2 targets:
Find out if 'abc xyz' is present in the text.
Find out if 'abc xyz' is present in any links, and if so, identify that link.
Please guide me on how to do this