Get Last text item of line?
This is what I have so far.
I'm trying to get the last text item of each line. How can I do this please?
set metadata to paragraphs of "Keywords : Pastel Drop Earring
Headline : ES20ER02545MU2SV
UserComment : 21"
set AppleScript'stext item delimiters to {":"}
set thekeywords to 2nd text item of metadata
set theheadline to 3rd text item of metadata
set theusercomment to last text item of metadata
logthekeywords
logtheheadline
logtheusercomment
Mac Pro, OS X Mavericks (10.9)