14 lines
316 B
Markdown
14 lines
316 B
Markdown
|
# 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!"
|
||
|
```
|