I have very simple code to check if the last entry of an email address is a '.' and if it is remove it. If multiple '.' are entered remove them all.
The issue is if my email address exceeds 30 characters. I found other posts if the variables are varying in length or %trim is used. I do neither. I don't see why this would have an issue. Please see attached for debug display, definitions, etc.