Compare length of two strings: Difference between revisions

m
Took feedback and updated task accordingly.
m (→‎{{header|Raku}}: added emphasis)
m (Took feedback and updated task accordingly.)
Line 7:
Given two strings of different length, determine which string is longer or shorter. Print both strings and their length, one on each line. Print the longer one first.
 
Measure the length of your string in terms of bytes or characters, as appropriate for your language. If your language doesn't have an operator for measuring the length of a string, note it.
 
{{Template:Strings}}
1,489

edits