public Pair<String,String> splitExtensionField(String defaultField,String field) {int indexOf = field.indexOf(this.extensionFieldDelimiter);if (indexOf < 0)return new Pair<>(field, null);final String indexField = indexOf == 0 ? defaultField : field.substring(0,indexOf);final String extensionKey = field.substring(indexOf + 1);return new Pair<>(indexField, extensionKey);}
public virtual Tuple<string, string> SplitExtensionField(string defaultField, string field){int indexOf = field.IndexOf(this.extensionFieldDelimiter);if (indexOf < 0)return new Tuple<string, string>(field, null);string indexField = indexOf == 0 ? defaultField : field.Substring(0, indexOf);string extensionKey = field.Substring(indexOf + 1);return new Tuple<string, string>(indexField, extensionKey);}