Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
miro_kopecky
Contributor III
Contributor III

Subfield

Hello,
I have table with columns FileName and Word as in the picture...
I need to subfield FileName to show only what's behind mole dataset\ so the result would be for example:
cestovny doklad\cest01(cz).jpg

Bez názvu.png

Labels (2)
2 Replies
Anil_Babu_Samineni

Try this?

=SubField(FileName, '\', -2)&'\'&SubField(FileName, '\', -1)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
agigliotti
Partner - Champion
Partner - Champion

you can do it using Mid function in your script as below:

Mid(FileName, 30) as new_field;

I hope it helps.