Split and input text and add % at start and end of split

So I know there are some smart people out there that could help with this.
I have a search input which filters a custom query using LIKE
Issus I am having is I need to split the search words and add % and the beginning and end

Example:
cz 22
needs to be
%cz%&%22%

does anyone have any idea how I can do this from submitting the form ?

@Teodor @George sorry to be a pain, but would would you have any ideas??

Community Page
Last updated: