helper_quote2doublequote()

helper_quote2doublequote()#

The function helper_quote2doublequote() replaces all single quotes (') in the input string with double quotes (").

Prototype

char *helper_quote2doublequote(char *str);

Parameters

Key

Type

Description

str

char *

The input string to be modified in place.


Return Value

Returns the modified string with all single quotes replaced by double quotes.

Notes

This function modifies the input string in place and does not allocate new memory.

Prototype

// Not applicable in JS

Prototype

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