Skip to contents

Replace text in an existing file.

Usage

file_text_replace(file_name, search, replacement)

Arguments

file_name

A string.

A string.

replacement

A string.

Value

An integer

Note

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

int FileTextReplace(const char * fileName, const char * search, const char * replacement);

Examples

if (FALSE) {
file_text_replace("file.png", "text", "text")
}