There's nothing syntactically wrong with what you have, except the "n=..." line needs to be above the Select statement (and you need an End Select, of course).
This works fine:
This works fine:
command$="title" n=Len(command$) Select True Case command$=Left$("title",5) And n>2 Notify "hi" Default Notify "nothing" End Select