Syntax
If the @str string is non-empty and does not contain the @trailing_char character at the end, it appends the @trailing_char character to the end. @trailing_char contains only one character, and it will return NULL if contains more than one character
APPEND_TRAILING_CHAR_IF_ABSENT