string, line by line

Results 1 to 3 of 3

Thread: string, line by line

  1. #1
    Bailey Guest

    Default string, line by line

    Anyone know how to read a string line by line? I know how to do this with a FSO, but I'd rather not have to create a text file to do it. Any help would be much appreciated!!

  2. #2
    Join Date
    Dec 1969

    Default RE: string, line by line

    Where are you getting the string from????<BR><BR>Oh, well:<BR><BR>&#060;%<BR>lines = Split( theString, vbNewLine )<BR>For i = 0 To UBound( lines )<BR>&nbsp; &nbsp; oneLine = lines( i )<BR>&nbsp; &nbsp; ...<BR>Next<BR>%&#062;<BR><BR>

  3. #3
    Bailey Guest

    Default RE: string, line by line

    Thanks! The number of versatile little functions in VBS never stops amazing me! Split is a new one by me. I like that. Thanks again.

Posting Permissions

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