Added changeStringNum function.