Can anyone please advise as to whether the following is possible
What is the question exactly?
Yes, you can use includes on a string with spaces, but we need to know what you are trying to do.
" test ".includes('test')
// true
"some more testing".includes('test')
// true
"some more coffee".includes('test')
// false
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.