Hi All,
I can get the name of a file using getName(), but I want to remove the extension
Should I just write a substring to extract a filename, or is there a method in the API to do so.
Name: file.txt
I want to remove the .txt to extract just "file"
This code does the job do for:
[ August 11, 2005: Message edited by: Cathy Song ]
I can get the name of a file using getName(), but I want to remove the extension
Should I just write a substring to extract a filename, or is there a method in the API to do so.
Name: file.txt
I want to remove the .txt to extract just "file"
This code does the job do for:
[ August 11, 2005: Message edited by: Cathy Song ]