> I am trying to receive file names but can't quite figure out 
> the proper substr to do it:
> jeff.dat
> jeffrey.dat
> chris.dat
> tom.dat
> I want to receive the name to the left of the .dat

$fileName = eregi_replace( "\.dat", "", $fullFileName );

Chris

Reply via email to