Value of numbers in a string function added.