OK, it's all cosmetic from here. The prog works & functions very well.
But... don't ya love it...
I want to strip the double quotes from the fields when I read it in & then put them around it when I write it back out. I also need to strip/replace 2 bang signs (!!) at the front of 3 of the fields. I read the strings into the
string lineOfInput. I then use string
test = lineOfInput.replace('"',' '), it compiles, but I get a runtime error...
C:\Dev\JavaProjects\Editmsg>
java FileEdit
Exception in
thread "main" java.lang.NullPointerException
at FileEdit.main(FileEdit.java:333)
333 is the line of the replace.
I just read the previous post on string replace & my syntax looks correct.
Thanks again, -Bill.