He was known for playing the sarcastic but lovable Chandler Bing and for his struggles with drugs and alcohol, which he chronicled in a memoir.