Hello,
I am new to this site, found reference through google.com.
I am attaching a sample code.
The variable “file_nm is pointed to proper file.
I am suppose to write a program, which will…
1. Open a file.
2. Search for string “APPLY DATE:
e.g. APPLY DATE:
3. If the string is found then place the date next to that statement
i.e. the statement should look like
APPLY DATE: 2004-07-28:21:32:16
4. But somehow my code is not working as per expectations, it is writing
a junk character along with the date
i.e. the output looks like
Apply Date:ÿ2004-07-28:21:32:16
My Code: Please ferfer to the attached file
Questions:
1] What is that junk character stands for?
2] What is wrong with the code?
Thanks in Advance.