This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Input and Output / Data Reading Options /

WordSeparators

FilledSmallSquare WordSeparators is an option for Read, Find and related functions which specifies the list of strings to be taken as delimiters for words.

FilledSmallSquare The default setting is WordSeparators -> {" ", "\t"}.

FilledSmallSquare Strings used as word separators may contain several characters.

FilledSmallSquare With the option setting NullWords -> False, any number of word separators may appear between any two successive words.

FilledSmallSquare WordSeparators -> , ... , , ... specifies different left and right separators for words. Words must have a left separator at the beginning, and a right separator at the end, and cannot contain any separators.

FilledSmallSquare Strings given as record separators are automatically taken as word separators.

FilledSmallSquare See Section 2.12.8.

FilledSmallSquare See also: RecordSeparators, TokenWords.

FilledSmallSquare New in Version 2.