I have an array like
['VS', 'V1', 'V2', 'V3', 'VE']
I am using substring to get second part which returns me
'S', '1', '2', '3', 'E'
I have to find the max integer value which will be 3
in this case. I tried this solution but I am geting NaN.
Any suggestion?