Reviving an old thread. wanted to change the last character of my text to a different colour. This works perfectly
text.sourceText.length-1
end
text.sourceText.length
However, if my text has a soft return (multiple lines) the expression doesn’t carry to the next line.
text.sourceText.length-1
text.sourceText.length