M
MES
I have a quick question - I have a script that reads .txt files and
from the file creates a file that is emailed to the requestor. I
want the name of the file to be the name of the input file without the
..txt at the end. How can this be done?
Ex:
$file = text.txt
outputfile = "$file .html
My outputfile comes out - test.txt.html
I would like it to be test.html
Can anyone help?
Thanks!
from the file creates a file that is emailed to the requestor. I
want the name of the file to be the name of the input file without the
..txt at the end. How can this be done?
Ex:
$file = text.txt
outputfile = "$file .html
My outputfile comes out - test.txt.html
I would like it to be test.html
Can anyone help?
Thanks!