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


is an option for Read, Find and related functions which specifies the list of strings to be taken as delimiters for words.
  • Strings used as word separators may contain several characters.
  • With the option setting NullWords->False, any number of word separators may appear between any two successive words.
  • WordSeparators->{{lsep1, ...}, {rsep1, ...}} 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.
  • Strings given as record separators are automatically taken as word separators.
Read the text in a file as a sequence of words:
New in 2