Problem
First Repeated Word Finder
Description
Given a sentence, find the first repeated word. The function should return the first repeated word or a standardized indication that no repeats were detected.
Example:
We work hard because hard work pays
Output:
hard
Constraints:
- The sentence contains only printable ASCII characters.
- The sentence may contain leading or trailing spaces.
- The sentence may contain multiple consecutive spaces between words.
- The function should be case-insensitive.
- The function should ignore delimiters when comparing words.