VOID %STRCPY%
Scopo: copiare il contenuto di una variabile in un'altra.

Sintassi:
VOID %STRCPY% (%STRING% s1,
    %STRING% s2)

Descrizione: Consente di eseguire una copia del contenuto di str2 dentro str1, sovrascrivendone il valore esistente.
Viene copiato anche il carattere terminatore (\x0) di fine buffer.

Valore restituito: nessuno.

Vedere anche: %STRBEGIN%, %STRCAT%, %STRCHG%, %STRICHG%, %STRLOWER%, %STRUPPER%, %MEMCPY%, %MEMSET%, %MID%, %LEFTTRIM%, %RIGHTTRIM%, Manipolazione dati / conversione / altro

Esempio:
%STRING%(str1, "Questa è la stringa 1.")
%STRING%(str2, "Questa è la stringa 2.")
str1 = %WRITE%(str1)
str2 = %WRITE%(str2)
%STRCPY%(str1, str2)
str1 = %WRITE%(str1)
str2 = %WRITE%(str2)

Program output: str1 = Questa è la stringa 1.
str2 = Questa è la stringa 2.

str1 = Questa è la stringa 2.
str2 = Questa è la stringa 2.