public static int getBuiltinFormat(String pFmt) {String fmt = "TEXT".equalsIgnoreCase(pFmt) ? "@" : pFmt;int i = -1;for (String f : _formats) {i++;if (f.equals(fmt)) {return i;}}return -1;}
public static int GetBuiltinFormat(String pFmt){String fmt;if (string.Compare(pFmt, ("TEXT"), StringComparison.OrdinalIgnoreCase) == 0){fmt = "@";}else{fmt = pFmt;}for (int i = 0; i < _formats.Length; i++){if (fmt.Equals(_formats[i])){return i;}}return -1;}