delete_right_char()
#
Delete a specified character from the right end of a string.
Prototype
PUBLIC char *delete_right_char(
char *string,
char c
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The string to modify. |
|
|
The character to remove from the right end of the string. |
Return Value
Returns the modified string.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples