StrCpy

From ZDoom Wiki
(Redirected from StrCopy)
Jump to: navigation, search

bool StrCpy (a:destination, string source[, int source_index]);

Usage

Copy a source string to a destination array as a series of characters. Optionally, the copy can start from a given index in the source string. (Verification needed)

Return Value

True if the entire string (or substring) was successfully copied to the array; false if the copy ran out of room or if a negative source_index was given. (Verification needed)

Example

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools
Namespaces

Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox