How to get part of the string and add it with a number

How to get part of the string and add it with a number

Hi,

I have a question and hope someone can help me.

Assume that I have a data looks like "A1234567890". Now I want to get the first 3 digit number 123, add it with another constant (e.g., 111), and get a new number (234 in this case). Is that possible to do it?

Or, if my data look like "1234567890" (all digits), can I do the same thing?

Thank you,