I want to use indexof function in expression column,
e.g.
var v[2] := {-1,-1};
if(indexof("SomeColumn", 'SomePattern', v) OR indexof(...)) {'contains'} else {'not contains'}
BUT not work as expected, can you provide a good example of how to use indexof function and OR operator to implement string.contains function?
BTW, if I set 'SomePattern' to some unicode string, there will be an error
I want to use indexof function in expression column, e.g. var v[2] := {-1,-1}; if(indexof("SomeColumn", 'SomePattern', v) OR indexof(...)) {'contains'} else {'not contains'}
BUT not work as expected, can you provide a good example of how to use indexof function and OR operator to implement
string.contains
function? BTW, if I set 'SomePattern' to some unicode string, there will be an error