method

string=

string=(p1)
public

Changes the string being scanned to str and resets the scanner. Returns str.