Rtrim
From Director Online Wiki
on rtrim(str, charlist) -- function.rtrim.php if (NOT stringP(charlist)) then charlist = " "&TAB&numToChar(10)&RETURN&numToChar(0)&numToChar(11) end if repeat while (offset(the last char of str, charlist)) delete the last char of str end repeat return str end --[[User:Cole|CBT]] 11:17, 19 Oct 2005 (MDT)