Member
Member
joshrodgers   2012-08-22, 17:48
#1

I am using the following to display search terms: getSearchWords()

I have noticed that when the term is alphabetical I don't get quotations around my word, but if the term is numerical there are quotations around my word.

Just curious why numbers and letters would return different.

Thanks,
Josh

Member
Member
sbillard   2012-08-23, 03:14
#2

Can't really remember why, but certainly that is eplicitly done for numbers.

Member
Member
joshrodgers   2012-08-23, 04:29
#3

lol, yeah, it's not a big deal...just thought it was interesting.

Thanks,
Josh

Member
Member
joshrodgers   2012-08-23, 05:04
#4

I wanted to remove the quotation marks around the numbers in my search results...so, I did the following:

``

That's it...quotation marks removed!!

NOTE: This will remove all quotation marks within the string, not just around the numbers, but it worked for me

Just thought I'd share what I did...it might help others.

Thanks,
Josh

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.