nmcl list does not show spaces
If the SSID ends with a space " ", it's impossible to tell when using "list".
For example, if the SSID is: "Apt MERKURI ", the space can be determined using: iwlist wlp2s0 scan essid Apt
However, if the command "nmcli device wifi list" is used, it's impossible to see the ending space " ".