Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pmatchPattern

Longest Common Prefix/Suffix/Substring searching functions


Description

Functions for searching the Longest Common Prefix/Suffix/Substring of two strings.

WARNING: These functions are experimental and might not work properly! Full documentation will come later.

Thanks for your comprehension!

Usage

lcprefix(s1, s2)
lcsuffix(s1, s2)
lcsubstr(s1, s2)
pmatchPattern(pattern, subject, maxlength.out=1L)

Arguments

s1

1st string, a character string or an XString object.

s2

2nd string, a character string or an XString object.

pattern

The pattern string.

subject

An XString object containing the subject string.

maxlength.out

The maximum length of the output i.e. the maximum number of views in the returned object.

See Also


Biostrings

Efficient manipulation of biological strings

v2.58.0
Artistic-2.0
Authors
H. Pagès, P. Aboyoun, R. Gentleman, and S. DebRoy
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.