@Override
  protected Result calculateResult(Expression @NotNull [] params, ExpressionContext context, boolean quick) {
    final String text = getTextResult(params, context);
    if (text != null) {
      final int index = text.indexOf(' ');
      return index >= 0 ? new TextResult(text.substring(0, index)) : new TextResult(text);
    }
    return null;
  }
@Override
  protected Result calculateResult(Expression @NotNull [] params, ExpressionContext context, boolean quick)