Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to load without fileextension using filename()

Hi Friends

I am trying to a file with name JAN_2014. Using filenname() I am trying creating column with JAN_2014 using filename() funtion.

But its creating a column with extension of file like JAN_2014.txt.

I dont want to get extensions into the created column.

Thanks

1 Solution

Accepted Solutions
MarcoWedel

use filebasename() instead

View solution in original post

2 Replies
anbu1984
Master III
Master III

Try SubField( filenname(),'.',1)

MarcoWedel

use filebasename() instead