Jump to content

Longest common substring: Difference between revisions

m
→‎{{header|REXX}}: added a EXIT code.
m (→‎{{header|REXX}}: added a EXIT code.)
Line 2,073:
say ' string B =' b /* " " B " " " " */
say ' LCsubstr =' LCsubstr(a, b) /*display the Longest Common Substring.*/
exit 0 /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
LCsubstr: procedure; parse arg x,y,,$; #= 0 /*LCsubstr: Longest Common Substring. */
Cookies help us deliver our services. By using our services, you agree to our use of cookies.