Assuming these character strings are in a variable, say FRED, use the reference ${FRED##xxx}.<br>
xxx refers to a RE matching the end of your string. You may have trouble unless you know either the total number of characters (say it's 5, then xxx would be ????), or some other character to match...