Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 381 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 381 Bytes

LongestCommenSubStringR

require library(stringr)

LCStr("AABCC","BACCABC", 1) returns "ABC"

## pass in 3 parameters, and returns the longest common substring  
## arg1: string one  
## arg2: string two  
## arg3: minimum Length of the common substring.

installation:

library(devtools)

install_github("Chrisfufu/LongestCommonSubString")