Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muaazsaleem/substrings

An infinitesimal adventure in text processing
https://github.com/muaazsaleem/substrings

Last synced: 23 days ago
JSON representation

An infinitesimal adventure in text processing

Awesome Lists containing this project

README

        

#substring an adventure in text processing

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 should return a hash listing each substring (case insensitive) that was found in the original string and how many times it was found.

via [The Odin Project](theodinproject.com)