Ok Scott, I used your idea of taking the string’s :number of characters and subtracting n. However, the editor wouldn’t let me just do something like:
Current Contact’s>Address’s>Formatted Address>truncated to>Current Contact’s> Address’s>Formatted Address’>Number of characters> -15
(The 15 above is the sum of the characters in the address zip, state, and country, including spaces and commas).
So I had to come up with a workaround. It worked, but it wasn’t pretty. Here it is:
I made a new field in my Contact thing called “Address String Length”. Whenever a new Contact is created and an address is inputted and saved, the field “Address String Length” will be automatically populated with Current Contact’s> Address’s>Formatted Address>Number of characters> -15
Elsewhere, in the field where i want to display a truncated address, I dynamically set the contents of that field to Current Contact’s>Address’s>Formatted Address>truncated to>Current Contact’s>Address String Length
So, essentially, what I’m doing is taking the number of characters in the address, subtracting 15 (which is the number of characters that I want to eliminate from the end of the address) and saving that amount to the database as a number in a field of the relevant thing. Then I use that number as the value of the number of characters used to truncate the address.
Geez this is hard to explain. I think it’s solved. But if anybody ever reads this in the future and comes up with a better workaround, I’m all ears!
Thanks for your help, Scott.