Results 1 to 2 of 2

Thread: vbscript?

  1. #1
    Join Date
    Dec 1969

    Default vbscript?

    I need to search for a string "ERROR" in a sequence if statements in a text file.<BR>Basically I have to parse for a string "ERROR".<BR>How do I do this in VBScript?<BR>I don&#039;t see any "Find" Function in VBScript?<BR>How do I do this..?<BR><BR>Thanks,<BR> <BR>

  2. #2
    Join Date
    Dec 1969

    Default Hmmm

    Depends on what you want to do...<BR><BR> Instr() will give you options to find the starting point<BR> of each "ERROR"<BR><BR> oArray = Split(sVal,"ERROR") will turn the entire string<BR> into an array delimited by "ERROR".<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