Fluxxdog
Active member
Sample code:
Output:
Output is expected to be:
For reference, from the _pref.txt file:
Code:
int[item]listing;
listing[$item["meat" stick]]=20;
listing[$item[martini]]=20;
string test_prop;
foreach i,n in listing{
if(test_prop!="") test_prop+=";";
test_prop+=n+":"+i;
}
set_property("_testing",test_prop);
foreach x,y in split_string(get_property("_testing"),";"){
print(y);
}
Code:
20:"
meat"
stick
20:martini
Code:
20:"meat" stick
20:martini
Code:
_testing=20\:"meat" stick;20\:martini