How do you pass a string as an argument to Node from the command-line?
You can surround the sentence in quotes, i.e.
> node index.js "This is a sentence."
Another option is to join the text in your program:
process.argv.shift() // skip node.exe
process.argv.shift() // skip name of js file
console.log(process.argv.join(" "))