list llDeleteSubList(list src, integer start, integer end)
Returns a list equal to
src without the slice defined by
start and
end. The
start and
end are inclusive, so
0, llGetListLength(src) - 1 would cause the function to return an empty list, and
0, 0 would cause the function to return a list equal to src without its first element. Using negative numbers for
start and/or
end causes the index to count backwards from the length of the list, so
0, -1 would cause the function to return an empty list. If
start is larger than
end the list returned is the exclusion of the entries, so
6, 4 would cause the function to return only
src's 5th list entry.
IMPORTANT NOTE: This function does
not manipulate
src directly. To manipulate the list you pass as
src, you must set
src equal to the return value of this function.
Example:
list src = ["A", "B", "C"];
llDeleteSubList(src, 1, 1);
// ^^^ After this line, src is still ["A", "B", "C"] because the return value is discarded
src = llDeleteSubList(src, 1, 1);
// ^^^ After this line, src is ["A", "C"] because the return value is assigned to it
Compare with
llListInsertList.
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Lists |
Functions Jasa SEO Jasa SEO Murah Sepatu Online Toko Sepatu Online Sepatu Sepatu Murah Sepatu Safety Sepatu Futsal Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Berita Terkini Internet Marketer Muda Internet Marketer Indonesia Portatile Apple RDAnet Lorks Karikatur Bisnis Modal Kecil Bisnis UKM Berita Terbaru Iklan Baris Jasa SEO Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Kursus SEO Kursus SEO Murah Jam Tangan Casio Jam Tangan Casio Jam Tangan Murah Jam Tangan Grosir Baju Terbaru Grosir Baju Baju Terbaru Grosir Baju Murah Bisnis Online Belajar SEO Kerupuk Kerupuk kulit Social Bookmark Dofollow Social Bookmark Kumpulan Puisi Kirim Puisi bola hantu Penumbuh Rambut Penumbuh Rambut timbangan WBC Wonogiri Jasa SEO Murah Jasa SEO Jam Tangan Murah