oafp to manipulate text

List of examples of use of oafp to manipulate text:

Get a json with the lyrics of a song

curl -s https://api.lyrics.ovh/v1/Coldplay/Viva%20La%20Vida | oafp path="substring(lyrics,index_of(lyrics, '\n'),length(lyrics))"

Result:

I used to rule the world
[...]
Oooooh Oooooh Oooooh