Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple and Clean solution in Clear category for First Word (simplified) by Brian_Sin
def first_word(text):
try:
space = text.index(" ")
return text[:space]
except ValueError:
return text
March 17, 2020