will now return false if the passed-in parameter is not a string.
implemented warnings if dest is an array.  Will truncate if the array is > 1 element.