Georjane / Sub-Strings

A method Sub Strings for counting how many times a substring was found in an array of words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sub-Strings

This method takes a word as the first argument and then an array of valid substrings (dictionary) as the second argument. It returns a hash listing each substring (case insensitive) that was found in the original string and how many times it was found.

Built With

  • Ruby

Live Code

Live Link

Getting Started

To get a local copy of the repository please run the following commands on your terminal:

$ cd Sub-Strings
$ git clone https://github.com/Georjane/Sub-Strings.git

Author

👤 Witah Ngu Geojane

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Project originally taken from The Odin Project
  • This project is part of Microverse Program

About

A method Sub Strings for counting how many times a substring was found in an array of words


Languages

Language:Ruby 100.0%