Parameters |
Description |
TEXTSTR s1 |
desitnation TEXTCHAR buffer |
CTEXTSTR s2 |
source string |
length |
the maximum number of characters that S1 can hold. (this is not a size, but is a character count) |
copy S2 to S1, with a maximum of N characters.
The last byte of S1 will always be a 'nul'. If S2 was longer than S1, then it will be truncated to fit within S1. Perferred method over this is SaveText or StrDup.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|