Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
srinivasa1
Creator II
Creator II

Trim pAth


Hi

pl guide me how i can remove ABC.qvw file from below mentioned path

Eg.

\\abc0012\K$\Myfolder\App_name\ABC.qvw

Im Looking something like \\abc0012\K$\Myfolder\App_name\

Note:path will be dynamic .

Thanks for any suugestion.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

left(MyPath, index(MyPath,'\',-1))

If you're working with files then you can use the filedir() function to retrieve the path of the directory that contains the file.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

left(MyPath, index(MyPath,'\',-1))

If you're working with files then you can use the filedir() function to retrieve the path of the directory that contains the file.


talk is cheap, supply exceeds demand