Skip to main content
If the str string is not empty and does not contain trailing_char character in the end, it appends trailing_char character to the end. trailing_char can only contain one character. If it contains multiple characters, this function will return NULL.

Syntax

Examples

Text

keyword

APPEND_TRAILING_CHAR_IF_ABSENT