Safely get last character #296

Work around inability to lookup any character in a string by its index.