contents   index   previous   next



Clib.strcpy()

syntax:

Clib.strcpy(dstStr, srcStr)

where:

dstStr - destination string to which the source string will be copied.

 

srcStr - source string to copy to destination string.

 

return:

string - the value of dstStr after the copy process.

 

description:

This method copies bytes from srcStr to dstStr, up to and including the terminating null character. If dstStr is not already defined, then it is defined as a string. It is safe to copy from one part of a string to another part of the same string.

 

The return is the value of dstStr, that is, a variable pointing to the dstStr array starting at dstStr[0].

 

see:

Clib.strncpy(), =

 

 


Clib.strcspn()