Copy a string: Difference between revisions

m
→‎{{header|REXX}}: added/changed whitespace and comments in the REXX section header.
m (→‎{{header|REXX}}: added/changed whitespace and comments in the REXX section header.)
Line 1,259:
 
=={{header|REXX}}==
The example shows how to copy the contents of one string and make a copy of it into another string.
 
Note that REXX accepts either an apostrophe &nbsp; [&nbsp; ''' <big>'</big> '''] &nbsp; &nbsp; or a (double) quote &nbsp; [&nbsp; ''' <big>"</big> '''] &nbsp; &nbsp; for literal strings.
 
Also note that &nbsp; ''all'' &nbsp; REXX values (variables) are stored as &nbsp; ''character strings''.
<lang rexx>src = "this is a string"
dst = src</lang>