delete_left_char()

delete_left_char()#

Delete a specified character from the left end of a string.

Prototype

PUBLIC char *delete_left_char(
    char        *string,
    char         c
);
        

Parameters

Key

Type

Description

string

char *

The string to modify.

c

char

The character to remove from the left 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