In and Contains plans...
Posted: 01 Jul 2014, 11:28
These are currently reserved keywords. I'm just wondering on what are the plans for these in terms of syntax/usage...
I prefer the former as it's clearer. Hence no need for:
Code: Select all
if var in/contains ['foo', 'bar', 'others'] OR if var in/contains 'foo,bar,others'
- Two consecutive commas results in a single literal comma
- To include a blank item in the list, make the first character a comma