Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Extracting filename

edited February 2007 in General
I have a filepath in a edit box as follows:
C:/data/swiff/uploads/image1.jpg

I need to convert to
image1.jpg
then
s:/swiff/uploads/image1.jpg

I have used
image1 := edit1.text;
image_new := extractfilename(image1);

I would expect the result to be images1.jpg but I get
/data/swiff/iploads/image1.jpg

What am I missing here please

Cheers

SteveW

--
Steve Warburton
0161 217 2200
07760 164990
Stevew@Parkforce.com

Comments

This discussion has been closed.