0

I had a struggle when i made a search feature for my project. My search feature only could search depend on my input field which is case sensitive.

This is my search feature result for example:

we will search a data and the title of data is "Harry Potter"

if i search with "Harry Potter",the return is true

But,

if i search with "harry potter",the return is false

how should i do to solve it?

Drok Brag
  • 311
  • 1
  • 3
  • 6
  • Post your code please, it could be something as simple as checking against lowercase, but no idea how you're implementing this. – Phix Jul 07 '21 at 20:03
  • Are you looking for .ignoreCase or .toUpperCase ? Ignores the caps – BeerusDev Jul 07 '21 at 20:05

0 Answers0