convert slice to string using string()