Shell String Containing Spaces is Not Splitting on the Space:
Have you altered the IFS environment variable? If so, string arguments to programs and shell scripts may not split as expected. If you do need to alter the IFS environment variable, you should change it back straight afterwards. For example:
OFS="$IFS" # Keep backup of IFS.
IFS=":" # Alter IFS temporarily.
Do something.
IFS="$OFS" # Restore backup of IFS.