igmeou Posted March 24, 2005 Posted March 24, 2005 Hi, How can I send a carriage return/line feed if I read in a variable from a .ini file? Example: Hi @CRLF Leave me a Line Please. @CRLF The output should be: Hi Leave me a Line Please. And not: Hi @CRLF Leave me a Line Please. @CRLF I had tried quite a number of methods but just can't let it leave a line. Someone please advice. [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever)
Ejoc Posted March 24, 2005 Posted March 24, 2005 did you try $strfromfile = "Hi @CRLF Leave me a Line Please. @CRLF" $newstr = StringReplace($strfromfile,"@CRLF",@CRLF) MsgBox(0,"",$newstr) Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs
igmeou Posted March 24, 2005 Author Posted March 24, 2005 Hey. Thanks Man, Didn't thought of that. :"> Such a simple thing... [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever)
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