Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have this set of column where their data are display as :
{'id': 20921262, 'value': 'call'}
{'id': 20921262, 'value': 'feedback_tab'}
I just want the value for call , feedback_tab for the two example above. Meaning is after 'value' :
How can i code it to achieve the output
Actually this is a little cleaner and more secure:
TextBetween(putyourfieldnamehere,'value'&chr(39)&': '&chr(39),chr(39)&'}') as test;
What you have there is an Array (sorry not JSON) there should be a good number of threads which can help load this.
WHat is the raw data source as it might be easier to load from there properly rather than parsing a string
is actually retrieving by web scrapping using python. that is the best output that we can work from now though...
Ok in that case this code will work for this very specific example!
purgechar(TextBetween(putyourfieldnamehere,'value'&chr(39)&':','}'),chr(39)) as test;
Actually this is a little cleaner and more secure:
TextBetween(putyourfieldnamehere,'value'&chr(39)&': '&chr(39),chr(39)&'}') as test;
wow thanks. it works. initially i use mid, diden know about this text between. thanks!
No worries at all, its a very handy feature for parsing text!