IronGOLEM/wiki/strcpy.md

14 lines
316 B
Markdown
Raw Permalink Normal View History

2023-07-26 06:28:14 -04:00
# 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!"
```