Try the following bit of code.If someone can come up with an easier method please post itYou can pass it your parameters like Keyword, Mileage and colour - I didn't add all that in but I think this might get you going.Declare @KeyWords Varchar(255), @Pos int , @Key1 varchar(10), @Key2 varchar(10), @Key3 varchar(10)Set @KeyWords = '1.8 Golf GTI Petrol 'Set @KeyWords = Rtrim(@Keywords)--Print @KeywordsIf (Select Patindex('% %', @Keywords) ) > 0 Begin Set @Pos = (Patindex('% %',@KeyWords) - 1) Set @Key1 = Substring(@Keywords, 1, @Pos) Set @Keywords = Right(@Keywords, Len(@Keywords) - (@Pos + 1))-- Print @Keywords If (Select Patindex('% %', @Keywords) ) > 0 Begin Set @Pos = (Patindex('% %',@KeyWords) - 1) Set @Key2 = Substring(@Keywords, 1, @Pos) Set @Keywords = Right(@Keywords, Len(@Keywords) - (@Pos + 1))-- Print @Keywords If (Select Patindex('% %', @Keywords) ) > 0 Begin Set @Pos = (Patindex('% %',@KeyWords) - 1) Set @Key3 = Substring(@Keywords, 1, @Pos) Set @Keywords = Right(@Keywords, Len(@Keywords) - (@Pos + 1))-- Print @Keywords end end endPrint @Key1Print @Key2Print @Key3Select *from Cars where Keywords like '%' + @Key1 + '%'and keywords like '%' + @Key2 + '%'and Keywords like '%' + @Key3+ '%'You can't teach an old mouse new clicks.