delete_right_blanks()

delete_right_blanks()#

Removes trailing whitespace characters (spaces, tabs, carriage returns, and line feeds) from the end of the given string s.

Prototype

void delete_right_blanks(char *s);

Parameters

Key

Type

Description

s

char *

The null-terminated string to be modified in place.


Return Value

None.

Notes

The function modifies the input string directly by replacing trailing whitespace characters with null terminators.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples