Hello
I'm new to AppleScript and I'm trying to remove any brackets and text within from a string saved as a variable.
I need this in a Trigger that fills the value in a second variable, but without the brackets.
This is for ForeCastIO, and im trying to use images to display the weather.
Works well so far, except for a few exceptions, like when something like this comes:
"Snow (Under 1 cm.)"
Thats the present Value, but I only need "Snow" in there.
Perl I could do it, but how's the best way to use AppleScript for this?
Thanks
Andy