Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llList2CSV C# (CSharp) Method

llList2CSV() public method

Process the supplied list and return the content of the list formatted as a comma separated list. There is a space after each comma.
public llList2CSV ( Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.list src ) : Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLString
src Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.list
return Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLString
        public LSL_String llList2CSV(LSL_List src)
        {

            string ret = String.Empty;
            int x = 0;

            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return "";


            if (src.Data.Length > 0)
            {
                ret = src.Data[x++].ToString();
                for (; x < src.Data.Length; x++)
                {
                    ret += ", " + src.Data[x].ToString();
                }
            }

            return ret;
        }
LSL_Api