https://github.com/odilson-dev/sub-strings
I'll implement a method #substrings that takes a word as the first argument and then an array of valid substrings (your dictionary) as the second argument.
https://github.com/odilson-dev/sub-strings
Last synced: over 1 year ago
JSON representation
I'll implement a method #substrings that takes a word as the first argument and then an array of valid substrings (your dictionary) as the second argument.
- Host: GitHub
- URL: https://github.com/odilson-dev/sub-strings
- Owner: odilson-dev
- Created: 2023-09-16T05:41:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-16T15:43:37.000Z (over 2 years ago)
- Last Synced: 2025-02-23T20:52:44.858Z (over 1 year ago)
- Language: Ruby
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sub-strings
I'll implement a method #substrings that takes a word as the first argument and then an array of valid substrings (your dictionary) as the second argument.
It will return a hash listing each substring (case insensitive) that was found in the original string and how many times it was found.