Skip to contents

Replace text string with new string, memory must be MemFree().

Usage

text_replace_alloc(text, search, replacement)

Arguments

text

A string.

A string.

replacement

A string.

Value

A string

Note

This function has been auto-generated from the following Raylib function definition:

char * TextReplaceAlloc(const char * text, const char * search, const char * replacement);

Examples

if (FALSE) {
text_replace_alloc("Hello", "text", "text")
}