Cleanse search query for display on Search Results page
-
I am displaying the search query on the search results page, but it contains a “+” within the query itself.
Is there an easy way to cleanse/replace that with a space so that the query can actually be utilized as text on the search results page?
Example:
https://www.jockjerseys.com/search/lebron+james/In the URL, the “+” is fine, but in the search results body where I display the query to the user, I would like it to remove the “+” sign.
Is this possible?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Cleanse search query for display on Search Results page’ is closed to new replies.