private static bool IsTo(String value) { //"trms 0V range 1uV to 10V errlmt 0.1% range 10V to 150V errlmt 1%" return "to|".Contains(value + "|"); }