strings.Index plus slicing becomes strings.Cut. Semantics are unchanged: Cut splits on the first separator, so before/after equal the previous title[:idx] and title[idx+1:], and ok mirrors idx != -1.
strings.Index plus slicing becomes strings.Cut. Semantics are unchanged: Cut splits on the first separator, so before/after equal the previous title[:idx] and title[idx+1:], and ok mirrors idx != -1.