- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Propbably, my question will seem to somepeople trivial, but i am not a professionnal. Sorry for that.
My problem is when i use the "read" function to read a line in a text file, the resulting line wil stop at the character "/".
For example if the line i want to read is 'test1/test2", the result will be "test1", as if the remaining part was not here.
With this problem, i can not read a line which contains date formats. for example when the line in the text contains 23/11//2008, the read function will not complete the whole date, it will stop at 23. Consequently, i will not be able to handle date manipulations.
Can anybody help me in this issue.
Thanks in advance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess maybe you tried only list-directed read. If you know exact column numbers for the data, you should be able to read them with I formats. Otherwise, you may have to read an entire line as a character string, and search for the expected fields.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page