get_parameter()

get_parameter()#

Extract a parameter value from a query string.

Prototype

PUBLIC const char *get_parameter(
    const char  *query_string,
    const char  *parameter_name
);
        

Parameters

Key

Type

Description

query_string

const char *

The query string to search.

parameter_name

const char *

The name of the parameter to retrieve.


Return Value

Returns a pointer to the value of the specified parameter, or NULL if not found.

Prototype

// Not applicable in JS

Prototype

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