Can you please tell me how to make it check whether two words entered by the user are anagrams or not?
You’re probably best using an external api service - (quick google search) maybe something like this? API - A|N|A|G|R|A|M|I|C|A
OP had reached out to me because I mentioned solving an anagram challenge in this post. I don’t have the example from that post anymore, and I couldn’t remember how I solved it, so I worked through it again and thought I would drop the result here. If anyone is looking to solve the same problem and you don’t want to use an external API service, here you go.
Note that each :find & replace operator finds a space and replaces it with nothing, and the regex pattern for each :extract with Regex operator is just a period.
chatgpt api would be a simple solution here
This topic was automatically closed after 70 days. New replies are no longer allowed.