This question is closed. Reopen it to edit or answer.
How to remove a file extension?
1 view (last 30 days)
Hello, I wanted to ask about how I can remove a file extension because I have a function to call without the extension :
function = main (input)
Where input is an XML file , and after a process that file need to call in another function within it without the XML extension.
That would read:
function = first ( ' file.xml ');
and later that file without the extension in another function within the .m file as :
function = second ( 'file ' ) ,
here already without the .xml extension. Thanks in advanced!