Anonymous user
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 ='
say ' string B ='
say ' LCsubstr =' LCsubstr(a, b) /*display the Longest Common Substring.*/
exit 0 /*stick a fork in it, we're all done. */
|