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:

Allow all overlaps:

Allow overlaps starting at different positions:

Scope  (2)

Overlaps is set to False by default in StringCases and StringCount:

The result from StringPosition contains positions of overlapping substrings:

Use Overlaps->False to obtain positions of nonoverlapping strings:

Wolfram Research (2004), Overlaps, Wolfram Language function, https://reference.wolfram.com/language/ref/Overlaps.html.

Text

Wolfram Research (2004), Overlaps, Wolfram Language function, https://reference.wolfram.com/language/ref/Overlaps.html.

CMS

Wolfram Language. 2004. "Overlaps." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Overlaps.html.

APA

Wolfram Language. (2004). Overlaps. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Overlaps.html

BibTeX

@misc{reference.wolfram_2024_overlaps, author="Wolfram Research", title="{Overlaps}", year="2004", howpublished="\url{https://reference.wolfram.com/language/ref/Overlaps.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_overlaps, organization={Wolfram Research}, title={Overlaps}, year={2004}, url={https://reference.wolfram.com/language/ref/Overlaps.html}, note=[Accessed: 21-November-2024 ]}