I am trying to check if a sting has a space in it. The following is not working for me.
if (skpwords.contains(lcase(query)) And Mid(query, InStrRev(query, \"
The best and shortest possible answer to this would be where you use the Instr function. This can be in the below format as ::
mysentence = "This is a sentence" if Instr(mysentence, " ")>0 Then 'do your stuff here.. else ' do else stuff here.. End if