How can I get a substring from a value in a Jason response.
Suppose I have a mydata value that I only need a few first characters of it.

Something like this 
{{mydata.substring(0,5)}}
Shall work, but it doesn't

I shall mention that this is in an amp-list