Forum Moderators: open
substring(from, to)
substring takes an integer that specifies the position within the string of the first character of the substring. It must be between 0 and the string length - 1.
Therefore, substring(-3) is not valid use of substring.