strcpy Scol 4.5 or above required
Similar at substr. See 'notes', below.
Prototype :
fun [S I I] S
- S : a source string
- I : a position
- I : a lenght
Return : S a new destination string or nil if error
Error :
- EOK if no error.
- ESTRING if the given string is nil.
- EARGNIL if the given position is nil.
- EINVAL if the given length is nil.
- EVM if a memory error occurs. The VM will exit and more information
could be found in the log file (if activated in the debug mode level).
See also :
Example :
Notes
This function is like substr but cuts the '\0' characters