smartee Posted August 3, 2011 Posted August 3, 2011 Hi, Just remove the lines While 1 and WEnd and all should be swell
steelsking Posted August 5, 2011 Author Posted August 5, 2011 thanks! sorry last 2 questions. 1) 2008-01-14 00:00:29 Local7.Notice 172.17.112.6 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 [search] 1=apple 2=orange 3=pear 4=mango $var = IniReadSection("myfile.ini", "search") For $i = 1 To $var[0][0] $criteria = $var[$i][1]) Next 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!!!
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