get a number from string

Thanks sofar.. im going to work with those tips and understand more about it..

when solved i'll share