Copy a string: Difference between revisions

Content deleted Content added
m →‎{{header|D}}: lang tag
m →‎{{header|Fortran}}: lang tag ; fix f# header
Line 248:
=={{header|Fortran}}==
 
<lang fortran> str2 = str1</lang>
 
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|F_Sharp|F#}}==
let f =
let mutable s0 = "Hello"