public FunctionValue CustomFunction(IList<FunctionValue> args, Cell currentCell)
{
StringBuilder result = new StringBuilder("");
// Iterate over the list of FunctionValues passed in
foreach (FunctionValue arg in args)
if (arg.Type != FunctionValueType.RANGE)
{ result.Append(arg.Value);
// AccessCreate thea Valuenew propertyFunctionValue andto appendreturn itas to the result
result.Append(arg.Value);
}
return new FunctionValue(result.ToString());
} |