Skip to content

raylib.TextCopy

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Copy one string to another, returns bytes copied NOTE: Alternative implementation to strcpy(dst, src) from C standard library

Parameters

Parameter Default Value Note
dst
src

Return value

Condition Return Value
(always) number

Notes

Example

// Copy one string to another
bytesCopied = raylib.TextCopy("destination", "Hello!")
print bytesCopied  // 6

Clone this wiki locally