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: 
ChannaK
Creator
Creator

String functions

 

{"index":1,"post_id":null,"changed_at":"2023-09-08T20:05:08.649Z"}

 

i need to extract data after "changed_at" , i need date but it should be based on "changed_at" 

because this position will change for each record

Labels (1)
3 Replies
Lisa_P
Employee
Employee

TextBetween('"index":1,"post_id":null,"changed_at":"2023-09-08T20:05:08.649Z"', '"changed_at":"', '"')

Gives this: 

Lisa_P_0-1697017533607.png

 

fe-c
Contributor III
Contributor III

You can combine subfield() & left() like:

left(subfield(temp,'"changed_at":"',2),10)

and get: 2023-09-08

ChannaK
Creator
Creator
Author

=left(mid(TextBetween(value, 'changed_at' , '}'),4),24)