TrimList
Revision as of 03:15, 2 September 2013 by LepreKhaun Resident (talk | contribs) (Added desirable feature- compilablity...)
this function will trim a list of strings for the output of a dialog box.
Function <lsl> list TrimList(list dlist, integer length) {
integer i; integer dl = llGetListLength(dlist); list temp = []; while(~--dl) temp += llGetSubString(llList2String(dlist,i++),0, length-1); return temp;
}
</lsl>