StrCpy (Kernel)

StrCpy(destString srcString [max])

Copies destString to srcString. If max is specified, only max number of characters are copied. It returns a pointer to the destString.

Parameters:
  • destString (string) – The destination string buffer.
  • srcString (string) – The source string.
  • max (number) – The maximum number of chars to copy.
Returns:

A pointer to destString.

Example:

(var aString[40], strPtr)
StrCpy(aString "Hello World")