Create string to integer(my version)