[PHP] Re: getting part of a string

2003-07-08 Thread Micah Montoy
That worked like a charm. thanks a lot "Ulf Sundin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > try basename(). then just cut the extention with substr($string, 0, -4) (-4 > if the extention is 4 characters i.e. .gif) > > Regards > Ulf > > > "Micah Montoy" <[EMAIL PROTECTED]> s

[PHP] Re: getting part of a string

2003-07-08 Thread ulf sundin
try basename(). then just cut the extention with substr($string, 0, -4) (-4 if the extention is 4 characters i.e. .gif) Regards Ulf "Micah Montoy" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Anyone have a sure way of grabbing just the file name from a string that > looks lik