'Problem using a variable with space passed into ls in a shell script

I'm trying to figure out how to handle a directory name with a space inside a shell script while passing it to ls. Below is a code sample - assuming that there is a directory called Hello world in the current directory, the first ls works, the second complains ls: Hello\ World: No such file or directory.

DST_DIR="Hello\ World"
ls Hello\ World
ls "${DST_DIR}"

Help. :(



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source