Skip to content

Anutka777/substrings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

substrings

Substring method implementation

Method takes:

  • word or phrase as the first argument
  • dictionary - array of valid substrings as the second argument

Return: hash listing

  • each substring (case insensitive) that was found in the original string
  • how many times it was found