I have a Clarion AutoPC that plays MP3s and it has a limited non scrolling title show feature from the ID tags. I want to limit the chars in the artist and title fields for my unique MP3 that I use in that system.
So I am using this:
Format Value: Title
Value: $left(%title%,18)..
As you an see it cuts the title at 18 chars from the left, but it also adds the ".." I want to show truncation on the display, but I am looking to add some intelligence so that the ..'s are not added unless the file was actually truncated.
Some files don't need the truncation, so I'm looking to crop at 18 and add .. for 20 chars total without a space after the last char.
Anyone have a thought on how to best achieve this as an Action?