Jump to content
Sign in to follow this  

search in TAB delimited not working

Recommended Posts


sorry last 2 questions.

1) 2008-01-14 00:00:29 Local7.Notice 2008 Jan 14 00:02:17 SIN +08:00 %DTP-5-TRUNKPORTON:Port 6/44 has become isl trunk

for this eg line, i only want to know the values from 172.17..... I think it is the fourth array (array[3]) i guess.

how do i modify this line to extract that values?

$extract = StringRegExp($aParts[4], "%(?:[^:]+):(.*)", 1)

2) to enable multiple search criteria, if i have this ini file






$var = IniReadSection("myfile.ini", "search")
For $i = 1 To $var[0][0]
    $criteria = $var[$i][1])

how do i incorporate this into the following search line?

If IsArray($aParts) And (UBound($aParts) >= 5) And ($aParts[2] = $Search) Then

Thanks once again!!!

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...