All,
I have the challenge in AppleScript to manipulate a string as follows:
- Base string is an email recipient display name, say "First Last ([email protected])"
- I'd now like to "trim" the display name to remove the actual email address in the brackets
- The desired result should be "First Last" - so also the space in front of the first bracket needs to be removed.
What is the best and most efficient way to do this in AppleScript? Thanks.
Cheers,
-Sven