Convert char from String to int problem

sherzaad:
Am I correct to assume that in the string "54321" you want to convert only the second character ie '4'?

if that's the case, you could simple do this assuming you are using c-string and not **S**tring

Unfortunately, like the title says, I am using String.
Yes, I just want to obtain a single int from the String, not the whole thing.