set string in scanner