Good morning everyone.
Should I insert strings with commas into an automagic list, which syntax would I use?
Thank you.
commas into lists
Moderator: Martin
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: commas into lists
Do you mean add new element which contains comma ? Just add as usual
When the list is used as listformat comma, Automagic will automatically double quote the element that have comma. It gets ugly though when you have double quote also inside the element.
Code: Select all
list = newList("apple", "this is sentence");
addElement(list, "This, have comma");
listcomma = "{list,listformat,comma}";
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.