Hi,
How can get the File Extension value in Clarion ?
Regards
Return File Extension value in Clarion
Re: Return File Extension value in Clarion
Extract the extension from the filename.
Clarion Strings Functions under String Processing
Maybe something like:
INSTRING('.',s,-1,LEN(CLIP(s)))
INSTRING
Clarion Strings Functions under String Processing
Maybe something like:
INSTRING('.',s,-1,LEN(CLIP(s)))
INSTRING
Re: Return File Extension value in Clarion
As usual thank you for your rapid reply.
Yes this is what I am doing now, but I thought that there could be a direct value from Everything. Because I was thinking about the way of retrieving other values like MD5, Bit Depth, length, ... etc
this the code I used
Yes this is what I am doing now, but I thought that there could be a direct value from Everything. Because I was thinking about the way of retrieving other values like MD5, Bit Depth, length, ... etc
this the code I used
Best Regards
if INSTRING('.',QQ_Name) > 0
QQ_Ext = SUB(QQ_Name,INSTRING('.',QQ_Name,-1,len(QQ_Name)) + 1,250)
else
QQ_Ext=''
end
Re: Return File Extension value in Clarion
Property support (md5, bitdepth etc..) in the SDK is on my TODO list.
Currently, the SDK is limited to filenames, size, date modified, date created and attributes.
Currently, the SDK is limited to filenames, size, date modified, date created and attributes.
Re: Return File Extension value in Clarion
Thanks a lot again.
Best Regards
Best Regards