Skip to contents

Insert text in a defined byte position, memory must be MemFree().

Usage

text_insert_alloc(text, insert, position)

Arguments

text

A string.

insert

A string.

position

An integer.

Value

A string

Note

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

char * TextInsertAlloc(const char * text, const char * insert, int position);

See also

Other alloc functions: text_replace_alloc(), text_replace_between_alloc()

Other insert functions: text_insert()

Examples

if (FALSE) {
text_insert_alloc("Hello", "text", 0L)
}