Looks like you just have a couple quotes out of place. This works:
'SMS'+toString((parseInteger(substring('SMS900',3))+1))
You can test expressions here: https://repl-sandbox.mxapps.io/index.html
A clean way is to handle as two parts:
$prefix + $number
I am getting this error now, please help.
it worked ,thank you all .