code: public static String first_word(EvaluationContext ctx, Object text) {
          // In Excel this would be IF(ISERR(FIND(" ",A2)),"",LEFT(A2,FIND(" ",A2)-1))
          return word(ctx, text, 1, false);
      }
docs: Returns the first word in the given text string