Hi
I was using this expression
$array = string\split($txtfield,',');
It split text by the comma as expected and provide as many items of the array as expected.
If the field $txtfield has some text without any comma gives an one single item array. Perfect.
But if $txtfield is null I would expect it provides an empty array with no item
Instead of that I receive an array with one item. And that item is null
Seems to me that this behaviour is not correct.
I was using this expression
$array = string\split($txtfield,',');
It split text by the comma as expected and provide as many items of the array as expected.
If the field $txtfield has some text without any comma gives an one single item array. Perfect.
But if $txtfield is null I would expect it provides an empty array with no item
Instead of that I receive an array with one item. And that item is null
Seems to me that this behaviour is not correct.
Comment