using System;
using System.Collections.Generic;
using System.Text;
using DynamicPluginData;
namespace DatacolDynamicPluginNS
{
public class DynamicPluginClass
{
public static string processDataFieldValue(string s, ItemInfo itemInfo, GlobalInfo globalInfo)
{
string[] split = s.Split('|');
string test1 = split[0];
string test2 = split[1];
int num1 = Convert.ToInt32(test1);
int num2 = Convert.ToInt32(test2);
int value = num1 - num2;
return value.ToString();
}
}
}
Index was outside the bounds of the array.
Input string was not in a correct format.