Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
replace and split solution in Clear category for First Word by rossras
def first_word(text: str) -> str:
return text.replace(',',' ').replace('.',' ').split()[0]
April 2, 2020