let dataSource = ["raspberry", "blackberry", "barberry", "blueberry"];
let patternChar = "*";
let patternQuery = "*l*e"
const result = find(dataSource, patternChar, patternQuery);
result => ["blueberry"]
-
Notifications
You must be signed in to change notification settings - Fork 0
Latest commit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Finding string in data source by pattern
Resources
Stars
0 stars
Watchers
1 watching