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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to use substr

Hi Friends,

I have substr function.

I have part_id(123456_786789) i need after _786789 value how can i get.

3 Replies
vinieme12
Champion III
Champion III

For the above you can use

Subfield (part_id,'_',2)

Other string functions

https://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/Scripting/StringFunctions/SubField.htm

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

Or Mid(part_id, findoneof (part_I'd, '_'))

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
MK_QSL
MVP
MVP

'_'& SubField(YourFieldName,'_',-1) as YourFieldName

or

as Vineet has suggested..