Hey Zhihai,
I would increase the starting position by 2 at the substring() function in order to have proper input for parsing to Integer number. (The original string is supposed as ‘CASE2022101301’, so the current substring result is ‘SE2022101301’, but after having increased position, it would be ‘2022101301’.)
best,
Istvan
Hey Zhihai,
Looks like you the string you are parsing contains some characters alsoz that's why it is giving an execption.
You have ti first split the string and then parse it
Hope it helps!