Jump to content

Fileread problem


Guest blade
 Share

Recommended Posts

Hi,

i'm trying to read out a file , but because of word wrapping used in the file ,i get the wrong value's returnd by my script.

Is there a work around for this or has anyone any ideas how to solve these problems?

Thx

Link to comment
Share on other sites

Do not use FileReadLine, use FileRead. Check the string for removing

'-' & @crlf and @crlf .

So a file like

001 This is my sentence that has be-
002 en cutted.
003

Will be read as 'This is my sentence that has been cutted.'

Link to comment
Share on other sites

  • Developers

Hi,

i'm trying to read out a file , but because of word wrapping used in the file ,i get the wrong value's returnd by my script.

Is there a work around for this or has anyone any ideas how to solve these problems?

Thx

<{POST_SNAPBACK}>

wordwrapping in a file ?? i thougth this was a program feature...

maybe you can give a simple short example of some file records, the script portion that reads the file and the result you would like to see ? :idiot:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...