Longest common substring: Difference between revisions

m
→‎{{header|REXX}}: changed whitespace.
m (→‎{{header|REXX}}: added a EXIT code.)
m (→‎{{header|REXX}}: changed whitespace.)
Line 2,070:
if a=='' then a= "thisisatest" /*Not specified? Then use the default.*/
if b=='' then b= "testing123testing" /* " " " " " " */
say ' string A =' a a /*echo string A to the terminal screen.*/
say ' string B =' b b /* " " B " " " " */
say ' LCsubstr =' LCsubstr(a, b) /*display the Longest Common Substring.*/
exit 0 /*stick a fork in it, we're all done. */