quote:

$ext = Split($file,'_')

Sheesh.. Did I not recommend that on 1 October over at http://www.kixscripts.com ?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's