@vip764 Hi, there is "Random Number" action which does exactly what you indent to do with javascript.
0_1495191032187_RandomNumber.png
The problem with your code is that you need to convert string to number
(([[VLENGHT]].split("-"))[1])
To
parseInt((([[VLENGHT]].split("-"))[1]))