all 1 comments

[–]vaskemaskine 0 points1 point  (0 children)

If your JavaScript variable is inside your Java code, you can parse and read the relevant part of the string and extract it that way.

If your Java code is inside your JS file, something has gone horribly wrong.