I am assigning text from an edit box to a string variable and trying to output then string to a text file. I the file created but there are some symbols and a "null" and the end of the line. This is the code I used:
try
{
ostream = new DataOutputStream(new FileOutputStream("temp.dat"));
ostream.writeUTF(stCombinedRecord);
ostream.close();

}
catch(IOException e)
{
System.exit(1);
}
Any help is awesome!!!!!!