Bill Wilkinson & James Brown

Results 1 to 2 of 2

Thread: Bill Wilkinson & James Brown

  1. #1
    Abner Guest

    Default Bill Wilkinson & James Brown

    I submitted the "Mystery Carriage Returns" question yesterday.<BR><BR>As it turns out Bill, you were overqualified to answer my question. In your sample code, you wrote a replace string using vbNewLine. Now I had mantioned that I had tried VbCrLf, and I HAD tried "VbNewLine" to no avail.<BR><BR>You are prolly already laughing at my mistake. (yes, I was using quotes in the replace function...)<BR><BR>Now that I removed the quotes and dropped the case on the &#039;v&#039;, my code works swimmingly. I won&#039;t tell you that I spent all day at work yesterday failing to see that little glitch.<BR><BR>Hey, even the smallest bullets kill right?<BR><BR>Thank you very much for both of your help...It is much appreciated.<BR><BR>A.

  2. #2
    Join Date
    Dec 1969

    Default If you care...

    (1) vbNewLine and vbCrLf are 100% identical on all Windows machines. They *can* be different on Unix/Linux machines but don&#039;t have to be.<BR><BR>(2) VBScript ignores case in *all* variables and keywords and constants, so vbNewLine, VBNEWLINE, VBnEwLiNe are all 100% the same thing, too.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts