I have a string in a loop and for every loop, it is filled with texts the looks like this:
\"123 hello everybody 4\" \"4567 stuff is fun 67\" \"12368 more st
If you want an int, just parseInt(myString, 10). (The 10 signifies base 10; otherwise, JavaScript may try to use a different base such as 8 or 16.)
parseInt(myString, 10)
10