import java.util.ArrayList;
import java.util.List;
class Main {
public static String[] splitFirstWith(String src, char c, char esc) {
if (src == null || src.trim().equals("")) {
return new String[0];
}
List result = new ArrayList();
StringBuilder sb = new StringBuilder();
char[] chars = src.toCharArray();
boolean hit = false;
for (int i = 0; i < chars.length; i++) {
if (chars[i] == c && !hit) {
if (i > 0 && chars[i - 1] != esc) {
result.add(sb.toString());
sb = new StringBuilder();
hit = true;
} else {
sb.deleteCharAt(sb.length() - 1);
sb.append(chars[i]);
}
} else if (i != 0 || chars[i] != c) {
sb.append(chars[i]);
}
}
if (!sb.toString().equals("")) {
result.add(sb.toString());
}
return result.toArray(new String[result.size()]);
}
}