// String Split function FuncMethod SplitFunction(ITypeSupplier supplier) => new FuncMethodBuilder() { Name = "Split", Documentation = "Results in an Array of String Values. These String Values will be built from the specified String Value, split around the seperator String.", ReturnType = supplier.Array(supplier.String()), Parameters = new CodeParameter[] { new CodeParameter("seperator", "The seperator String with which to split the String Value.", supplier.String()), }, Action = (actionSet, methodCall) => Element.Part("String Split", actionSet.CurrentObject, methodCall.Get(0)) };