Hi guys

I hope you can help me out with this.

I need to detect if a string has a hyphen at the end of it.

---------------

Eg:

Mystring = "the quick brown fox-"

If a hyphen exists at the end of the string then...

Do this

If a hyphen does not exist at the end of the string then...

Do that

--------------


How would I achieve this? Any help would be fully appreciated.

Best regards

Rod from the UK