local host = [[nxs_flo.nexus]] if host:match("%.nexus$") == nil then print("No '.nexus' at the end of the string!") else print("There is '.nexus' at the end of the string!") end