left_justify()

left_justify()#

Remove both leading and trailing whitespace characters from a string.

Prototype

PUBLIC char *left_justify(
    char        *string
);
        

Parameters

Key

Type

Description

string

char *

The string to modify.


Return Value

Returns the modified string with leading and trailing whitespace removed.

Prototype

// Not applicable in JS

Prototype

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