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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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.

Labels (1)
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..