IronGOLEM/wiki/strcpy.md
2023-07-26 10:28:27 +00:00

316 B

STRCPY

Strcpy (string copy) is a function that takes two chars lists as a parameter and write the second in the first (like strcpy in C)

params

  1. chars list
  2. chars list

example

strcpy("y", "o") "y" => "o"
strcpy("y", "") "y" => ""
strcpy("", "o") "" => "o"
strcpy("hello ", "world!") => "world!"