Print string and getIntByString fucntions