Hi James.
proIn is a numeric variable and you are trying to get a substring from it.
You'll need to convert it to a string before extract the substring.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd