Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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)