Hi all,
Need a little bit of help.
In my dataset i have a variable called comments, i want to search that variable for a specific text string.
I've done the below
But the only problem is its bringing back customers telepohne numbers (if it contains 1091).
Is there any way to exclude those? e.g only flag it if there are no trailing or preceding numbers?
Ta
Robbie
Need a little bit of help.
In my dataset i have a variable called comments, i want to search that variable for a specific text string.
I've done the below
Code:
if index(Concat_Comments, "1091") then
Error = "Y";
Else
Error = "N";
But the only problem is its bringing back customers telepohne numbers (if it contains 1091).
Is there any way to exclude those? e.g only flag it if there are no trailing or preceding numbers?
Ta
Robbie