checking if the Device string contains anything, if it does then it will append what it has, else it will skip and append NoDevices