StrCpy: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
mNo edit summary |
|||
| Line 1: | Line 1: | ||
bool ''' |
bool '''StrCopy''' (a:''destination'', string ''source''[, int ''source_index'']); {{svn|3227}} |
||
==Usage== |
==Usage== |
||
Copy a string |
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}} |
{{verification}} |
||
==Return Value== |
==Return Value== |
||
True if the entire string (or substring) was successfully copied |
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}} |
||
==Example== |
==Example== |
||
Revision as of 01:29, 11 December 2011
bool StrCopy (a:destination, string source[, int source_index]); (development version r3227+ only)
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 contributions are greatly appreciated. |