Convert 'page' string to int