If you want to save a text on your iPhone, you'll have to either forward it or copy the message and paste it elsewhere. You can save a text as a PDF on a Mac through the Print menu.