ho per esempio il numero 45 in una stringa word..

come faccio a dare alla variabile int A valore 45 ??

esiste una funzione?