How can I save what the user enters into an editbox to a text file (*.txt). Any suggestions?

Thanks,
Nathan Strandberg