Need to output only part of a filename to results file after main portion of program completed.
Typical openpicturedialog.filename result is c:\files\ecgs\...\100001.JPG
I need to extract only the '10001' part to act as the name for that row of comma seperated values in the results file.
How can I derive this from the filename string?
Is it some use of filters or is there a better way?
Thanks.
Typical openpicturedialog.filename result is c:\files\ecgs\...\100001.JPG
I need to extract only the '10001' part to act as the name for that row of comma seperated values in the results file.
How can I derive this from the filename string?
Is it some use of filters or is there a better way?
Thanks.