Trying to write a short method so that I can parse a string and extract the first word. I have been looking for the best way to do this.
I assume I would use s
s
import org.apache.commons.lang3.StringUtils; ... StringUtils.substringBefore("Grigory Kislin", " ")