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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
beck_bakytbek
Master
Master

How can exclude the brackets with Subfield()-Funktion

Hi Folks,

i got a Situation, where i have the following data:

tech_id:

(121516, 2, 3)

(45784569, 2, 3)

 

i used the SubField-Funtcion like: Subfield (tech_id, ' , ', 1) as ID to get the Value such: 121516, 45784569, but after script reload i have ths follwing data: (121516, (45784569.

How can i exclude the brackets?

Does anybody have any ideas?

Thanks a lot 

Beck

Labels (1)
1 Solution

Accepted Solutions
Somasundaram
Creator III
Creator III

 

try with this,

SubField(purgechar(tech_id,'('),',',1) as ID

 

works for me.,


-Somasundaram

If this resolves your Query please like and accept this as an answer.

View solution in original post

5 Replies
OmarBenSalem

Purgechar(Subfield (tech_id, ' , ', 1) ,'(')

Somasundaram
Creator III
Creator III

 

try with this,

SubField(purgechar(tech_id,'('),',',1) as ID

 

works for me.,


-Somasundaram

If this resolves your Query please like and accept this as an answer.
bhargav_bhat
Creator II
Creator II

use
replace(Subfield (tech_id, ' , ', 1), '(' , '')
beck_bakytbek
Master
Master
Author

Omar Thanks a lot for your Help and Time

beck_bakytbek
Master
Master
Author

Thanks a lot for your help and time