Use of string includes method with white space

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