I hope you can help me out with this.
I need to detect if a string has a hyphen at the end of it.
Mystring = "the quick brown fox-"
If a hyphen exists at the end of the string then...
If a hyphen does not exist at the end of the string then...
How would I achieve this? Any help would be fully appreciated.
Rod from the UK