StrCpy: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
new function from r3227
 
Tsrow (talk | contribs)
m moved Strcopy to StrCopy: title capitalization
(No difference)

Revision as of 01:11, 11 December 2011

bool Strcopy(a:destination, string source[, int from]); (development version r3227+ only)

Usage

Copy a string in an 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 in the array; false if the copy ran out of room or if a negative from 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 contributions are greatly appreciated.