Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
short without regexp solution in Clear category for First Word by pakicetus
def first_word(text: str) -> str:
tmpStr = text.replace(","," ").replace("."," ").lstrip()
return tmpStr.split(" ", maxsplit=1)[0]
July 7, 2020