llCSV2List

Written by Kitsune
default
{
    state_entry()
    {
        llSetText("llCSV2List test.\nClick to parse comma seperated values to lists.", <1,1,1>, 1.0);
    }
 
    touch_start(integer total_number)
    {
        string csvinput = "string, 1, 3.141593, <1.000000, 2.000000, 3.000000>, <1.000000, 1.000000, 1.000000, 0.000000>, 7ffd02d0-12f4-48b4-9640-695708fd4ae4";
        llSay(0, "CSV input: " + csvinput);
        list parsed = llCSV2List(csvinput);
        llSay(0, "CSV output(should match input): " + llList2CSV(parsed));
 
    }
}