How to convert obj.name.substring (12, 15) into plastic operation in java script?
If your string has the shape of a number, it can be converted. The shape with numbers is that every bit in the string consists of 0-9, or negative numbers and decimals.
Integer.parseInt(String arg) can be used to convert Int.
Double precision, floating point, etc. You can also use the corresponding Double.parseDouble(String arg) and Float.parse(String arg).