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

RecordListsWordSeparators

RecordSeparators

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

FilledSmallSquare The default setting is RecordSeparators -> {"\n"}. With this setting, each complete line of input is considered as a record.

FilledSmallSquare Strings used as record separators may contain several characters.

FilledSmallSquare With the option setting NullRecords -> False, any number of record separators may appear between any two successive records.

FilledSmallSquareRecordSeparators -> { } specifies that everything is to be included in a single record.

FilledSmallSquareRecordSeparators -> , ... , , ... specifies different left and right separators for records. When there are nested left and right separators, records are taken to be delimited by the innermost balanced pairs of separators.

FilledSmallSquare Example: with RecordSeparators -> {{"<"}, {">"}}, the records aaa and bbb are extracted from <x<aaa>yyy<<bbb>>>.

FilledSmallSquare Text that does not appear between left and right separators is discarded.

FilledSmallSquare See The Mathematica Book: Section 2.11.8.

FilledSmallSquare See also: WordSeparators.

RecordListsWordSeparators