I am looking to run a test on a string to determine whether or not it meets certain condiditions. I would like to extract the last 4 characters of any given string and test them against a constant variable. Any Ideas on how to do this?
Ex:
I would like to know if the last four characters in the string are '.edu'
Thanks