String to Int

Hey everyone… I was wondering, how to convert a string to an int… here’s the thing when I use Number(myVar) it returns NaN. The string that I am trying to parse has a leading number followed by
because I’m using loadVars and in order to make it more readable I’m trying to make a new variable on everyline… So anyone know how I can do this I just need to remove the
.