tcR (version 2.3.2)

get.all.substrings: Get all substrings for the given sequence.

Description

Get all substrings for the given sequence.

Usage

get.all.substrings(.seq, .min.len = 3, .table = T)

Arguments

.seq

Sequence for splitting to substrings.

.min.len

Minimal length of output sequences.

.table

if T then return data frame with substrings and positions of their ends in the .seq.

Value

Character vector or data frame with columns "Substring", "Start" and "End".