"Spacebar265" <spac.. at gmail.com> wrote: >Thanks. How would I do separate lines into words without scanning one >character at a time? Type the following at the interactive prompt and see what happens: s = "This is a string composed of a few words and a newline\n" help(s.split) help(s.rstrip) help(s.strip) dir(s) - Hendrik