I have a string like below.
const a = "The school is big."
And I want to make searching function.
function searching(q){
...
}
// searching(the) -> true
// searching(e s) -> true
// searching(oolis) -> true
// searching(the big) -> false
Could you recommend some solution for this case?