On Fri, 22 Oct 2004 [EMAIL PROTECTED] wrote:

> I have a problem
> 
> I have 
> $FILENAME=C:\Developer\view_local\local_nt\FDAFDSAFDSASDFA\ASDFDAFSASDF\NewProcess_date_22-oct-2004.log
> 
> How to get 'NewProcess only word
> 
> kindly let me know

This will do what you ask for:

  $np = "NewProcess";

Or were you hoping that we'd write everything for you?

So -- what code have you tried so far? What *exactly* after the text 
NewProcess are you trying to capture? Here's that part:

  NewProcess_date_22-oct-2004.log

You want everything from the first '_' to the last 'g' ?

Please be precise.


-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to