Read numbers from a text file
Hello, I'm a big fan of this website and it has helped me a lot in the past years, but unfortunately this time I can't find an answer to my problem here. I hope someone can help me out!
I'm trying to read numbers (integers) from a text file consisting of random text and numbers. The numbers in the text are marked by "quotes", but I just can't figure out how I have to extract them. It would also be sufficient if I knew how to compare these numbers with an array (integers) I've already created (in general I just need to know which numbers from the text can also be find in the array).
I've tried extracting the numbers, but I can only get characters (f.e. if I extract the number '1', I get the ASCII value '49'). I've also tried searching the text (loading text in a buffer) and comparing each character with the values from the array, but nothing...