Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for First Word (simplified) by megaexception
function firstWord(text: string): string {
return text.split(/\s/)[0];
}
April 23, 2020