Copy a string: Difference between revisions

Content deleted Content added
Modula-3
Line 294:
print equal? :b :c ; true
print .eq :b :c ; false
 
=={{header|Modula-3}}==
Strings in Modula-3 have the type <code>TEXT</code>.
<lang modula3>VAR src: TEXT := "Foo";
VAR dst: TEXT := src;</lang>
 
=={{header|OCaml}}==