test if string not empty (classname)