FileReader and FileWriter
I want to read in a text file(list of Names) using FileReader than Write to another file using FileWriter. Using FileWriter, I only want to write the Name starting with F to a new text file. I have the file reading from one text than writing to another text. The tricky part is filtering the names starting with only F. Any Idea on how I should be doing this? Any help will be deeply appreciated.
Re: FileReader and FileWriter
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
Review the String API for methods that can help you do what you've described.
The tricky part is filtering the names starting with only F.