Copy a string: Difference between revisions

added Fortran
(added Fortran)
Line 223:
\ Copy the contents of one string buffer into another
stringa count stringb place
 
=={{header|Fortran}}==
 
str2 = str1
Because Fortran uses fixed length character strings if str1 is shorter than str2 then str2 is padded out with trailing spaces.
If str1 is longer than str2 it is truncated to fit.
 
=={{header|Haskell}}==
179

edits