Detect hyphen at end of string
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
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)