Jump to content

Recommended Posts

Posted

I am trying to create an IDE type program, and will need to be able to store multiline strings...

For example, in PHP I can replace the line breaks with the \n character so when I fwrite to a text file, the line breaks appear...

Is there a similar character in AutoIt that I don't have to keep using:"String"&@CRLF&"String..." for?

Also, how can I put double quotes in a string? Use single quotes to store them? : $string = 'My "string" that will be stored'

Thanks, and Community on Patrol, stay out of my thread this time XD

Posted

COP is a bot. It doesn't spam new users.

You can also double up your double quotes but it looks messy that way. "This is a ""quoted"" string."

There is no escape character for carriage return and line feed. You have to use the macro or run a function to translate all the \n's to new lines.

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...