Mackie @ Wed Mar 19, 2008 5:54 pm wrote:
Vilament, I think you misunderstood. To answer your question. There is no function to do that. If you have the name in a string already in a string you could probably just collect the file extension running backwards through the string and collecting every letter before you run into a period.
It sounds like he want something like
code: |
File := File(* - 4 .. *)
if File = ".doc" then
put "kewl"
end if
|
Or will that not work?