Jump to content

Recommended Posts

Posted

Is there a way to use the edit field with the edit style of $ES_WANTRETURN, and then take that text and write it to a text file, so that when you read it back, the @CRLF does not cause the data to be read as multiple lines. Can the @CRLF be replaced by some misc. character when written to the file (FileWriteLine), and then written back when read back from the file (FileReadLine)?

Posted

Can the @CRLF be replaced by some misc. character when written to the file (FileWriteLine), and then written back when read back from the file (FileReadLine)?

<{POST_SNAPBACK}>

Do you mean?

FileWriteLine($filehandle, StringTrimRight($sMyString, 1))

Then

$sMyString = FileReadLine($filehandle) & @CRLF

Phillip

Posted

Can the @CRLF be replaced by some misc. character when written to the file (FileWriteLine), and then written back when read back from the file (FileReadLine)?

FileWriteLine($file, StringReplace($line, @CRLF, "~"))

$line = StringReplace(FileReadLine($file), "~", @CRLF)

My UDFs: ExitCodes

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
  • Recently Browsing   0 members

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