static int ai_getSplitIndexForString(S s) { int i = ai_text_int(quote(s), "splits at index", "$X"); if (i >= 0) ret i; i = openQuestion(); ret i; }