Dee
2009-06-26 10:33:01 UTC
Hi
I'm looking for a way of grabing a string from a log file and creating a
variable from it.
I have looked at the pattern match and Instr functions but non the wiser on
how I can grab a string from a log such as below:
I want to grab the name of the server between the "" in the log file
If anyone has some pointers to the code that I can use that would be great
Log File example:
20080626093137.000000+060,1024, (MS473) Node "myserver.mycomany.com" may be
down. Failed to contact it
I'm looking for a way of grabing a string from a log file and creating a
variable from it.
I have looked at the pattern match and Instr functions but non the wiser on
how I can grab a string from a log such as below:
I want to grab the name of the server between the "" in the log file
If anyone has some pointers to the code that I can use that would be great
Log File example:
20080626093137.000000+060,1024, (MS473) Node "myserver.mycomany.com" may be
down. Failed to contact it
--
Dee
Dee