find-same-parts
Find the same parts from two given strings
Install
$ npm install find-same-parts --save
Usage
;// will return the sames part in array// options// * minStrLength {INT}, set the minimum length of same parts// * ignoreCase {Boolean}
e.g.
var findSameParts = ; ; // ['hello world']; // ['ello world'] ; // ['hello', 'bot']; 'hello'