What is the format of input strings?
Can numeric values be negative?
Are they integers only or floats only or both?
Is there always only one numeric value in the input or indefinite amount?
Please, mention these in the question so that people would not guess what you actually need. I know it sounds rather cocky, but this question seems very lazy