Hi,
There is a string like:
parcel = 1 AND id = 546 OR shape = 'point'
I want to split this string with AND and OR
I wrote split function like:
var contentarr = qString2.split( "AND");
it will split the string where the AND is but I want string to be broken:
parcel = 1
id = 546
shape = 'point'
How can I do this?
Thanks
There is a string like:
parcel = 1 AND id = 546 OR shape = 'point'
I want to split this string with AND and OR
I wrote split function like:
var contentarr = qString2.split( "AND");
it will split the string where the AND is but I want string to be broken:
parcel = 1
id = 546
shape = 'point'
How can I do this?
Thanks
Comment