I have a variable that holds wind info. Typically it reads something like WSW at 2 mph.
What I’m after is to shorten it to a single character direction keeping whatever the speed may be...e.g. W at 2 mph.
I thought about just limiting the character length but of course that wouldn’t take into account the wind speed digits.
Any ideas appreciated.
Thanks,
Carl