TrimList
Revision as of 19:09, 20 October 2011 by Ugleh Ulrik (talk | contribs)
this function will trim a list of strings for the output of a dialog box.
Function <lsl> list TrimList(list dlist, integer length) {
integer dlist = llGetListLength(dlist)+1; list temp = []; while(~--dlist) temp += llGetSubString(llList2String(dlist,i),0, length-1); return temp;
}
</lsl>