Date: 07/15/07 (C Sharp) Keywords: no keywords Hi, just joined! TextWriter tw = new StreamWriter(filename); String headerText = header.Text; headerText = headerText.Replace("&&", "&"); headerText = headerText.Replace("&t", trainerName.Text); headerText = headerText.Replace("&a", tradable.ToString()); headerText = headerText.Replace("&w", wanted.ToString()); headerText = headerText.Replace("&d", diamondFriendCode.Text); headerText = headerText.Replace("&p", pearlFriendCode.Text); headerText = headerText.Replace("&b", battleRevFriendCode.Text); headerText = headerText.Replace("&", "&"); if (displayHeader.Checked) tw.WriteLine(headerText); Here's the contents of the form element "header:" %t's trade list And here's the output from the program for that portion, which of course is identical to the input: %t's trade list Any ideas?
|