Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/String-concatenation/REXX/string-concatenation.rexx
Normal file
9
Task/String-concatenation/REXX/string-concatenation.rexx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
s = "hello"
|
||||
say s "literal"
|
||||
t = s "literal" /*whitespace between the two strings causes a space in the output.*/
|
||||
say t
|
||||
/*the above method works without spaces too.*/
|
||||
|
||||
genus= "straw"
|
||||
say genus"berry" /*this outputs strawberry.*/
|
||||
say genus || "berry" /*concatenation using a double-pipe does not cause spaces.*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue