pugboy Posted September 22, 2008 Posted September 22, 2008 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
Richard Robertson Posted September 22, 2008 Posted September 22, 2008 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.
pugboy Posted September 22, 2008 Author Posted September 22, 2008 Ok, I think the function might be easier...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now