You can use another system expression tokenat("text", index, separator) to do this. So with this expression you can call each word of the sentence in turn which will have index 0, 1, 2 etc, then once returned you can use len("returned text") to calculate the length of that returned word. Then you will need logic to find the largest of the returned lengths, so you could store the word and length, then compare back against it, if the length is greater then that becomes the latest word.