Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

Only Characters after last . in String

Hi All,

I have file paths and I am using the following to get everything after a '.' or CHAR(46)

SUBFIELD([Full Path],'.',2)

However some file paths contain a number of  '.' but i only want everything after the last one

So if I have

Alan.qvw

Alan.Farrell.qvw

Alan.r

Alan.Farrell.r

I only want to see

.qvw

.r

Regards

Alan

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try:

SUBFIELD([Full Path],'.', -1)

View solution in original post

2 Replies
tresesco
MVP
MVP

Try:

SUBFIELD([Full Path],'.', -1)

rustyfishbones
Master II
Master II
Author

thanks tresesco