Extract integer from string...parseInt() / RegEx?

I remember having similar problems with Strings retrieved via the Exec plugin. In the end it was using something like

intvar = Integer::parseInt(stringvar.toString())

Go figure.

1 Like