Directions
Check to see if two provided strings are anagrams of each other. One String is an anagram of another if it uses the same character in the same quantity. Only consider characters, not spaces or punctuation. Consider capital letters in your program. Make use of Functions and Methods where necessory
You can code this with any language of your choice!
Examples
anagrams( 'rail safety' , 'fairy tales' ) -----> True
anagrams( 'RAIL! SAFETY!' , 'fairy tales' ) -----> True
anagrams( 'Hi there' , 'Bye there' ) -----> False
Directions
Check to see if two provided strings are anagrams of each other. One String is an anagram of another if it uses the same character in the same quantity. Only consider characters, not spaces or punctuation. Consider capital letters in your program. Make use of Functions and Methods where necessory
You can code this with any language of your choice!
Examples
anagrams( 'rail safety' , 'fairy tales' ) -----> True
anagrams( 'RAIL! SAFETY!' , 'fairy tales' ) -----> True
anagrams( 'Hi there' , 'Bye there' ) -----> False