Question: what to say to a friend that has cancer?
Answer: "We'll get through this together. ... 
"I am praying for you."
"Go to MD Anderson. ... 
"I am here for you." Then follow through and really be there.
Don't ask what you can do to help or say, "Let me know if you need anything." Many people will never ask for help even though they need it.