Dear all,
I want to return the file extension of a give file. I am having a problem with it
Sample code as follows;
extension = lcase(substr(file_name,(len(file_name-3)),(len(file_name)) ))
This syntax should work, but I cannot remember if I should be using the "len" or "length" function !!!
Any reminder much appreciated.
Thanks
Alf
I want to return the file extension of a give file. I am having a problem with it
Sample code as follows;
extension = lcase(substr(file_name,(len(file_name-3)),(len(file_name)) ))
This syntax should work, but I cannot remember if I should be using the "len" or "length" function !!!
Any reminder much appreciated.
Thanks
Alf