delete_left_blanks()
#
Removes leading whitespace characters (spaces, tabs, newlines, and carriage returns) from the given string s
by shifting the non-whitespace characters to the left.
Prototype
void delete_left_blanks(char *s);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The null-terminated string from which leading whitespace characters will be removed. The string is modified in place. |
Return Value
None.
Notes
If the input string is empty or contains only whitespace, it will be reduced to an empty string.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples