Pergunta de entrevista da empresa Barclays

Given a String in form a+bcd, compute the associated value. Eg: 1234 a+bcd output:235