Overlaps

Overlaps

is an option to string and sequence functions that specifies how to treat overlapping substrings.

Details

  • Possible settings for Overlaps are:
  • Falseallow no overlaps
    Allallow all overlaps
    Trueallow overlaps starting at different positions

Examples

open allclose all

Basic Examples  (1)

Allow no overlaps:

Click for copyable input
Out[1]=

Allow all overlaps:

Click for copyable input
Out[2]=

Allow overlaps starting at different positions:

Click for copyable input
Out[3]=

Scope  (2)

See Also

SequencePosition  SequenceCases  SequenceCount  StringPosition  StringCases  StringCount  PatternSequence  ReplaceList

Tutorials

Introduced in 2004
(5.1)