enumerate.substrings: Enumerate all substrings of a string.

View source: R/compositionality.R

enumerate.substringsR Documentation

Enumerate all substrings of a string.

Description

Enumerate all substrings of a string.

Usage

enumerate.substrings(string)

Arguments

string

a character string

Value

a vector containing all substrings of the string (including duplicates)

Examples

enumerate.substrings("abccc")

kevinstadler/cultevo documentation built on Jan. 13, 2024, 11:22 p.m.