I actually *call* this llListReplaceList() in my code, but in the interest of not annoying the Linden Gods:
CODE
list listReplaceList(list l, integer s, integer e, list r) { list rem = llDeleteSubList(l, s, e); list new = llListInsertList(rem, r, s); return new; }