Longest common suffix: Difference between revisions
Content added Content deleted
(Added BaCon version.) |
|||
Line 481: | Line 481: | ||
['ectoplasm', 'banana', 'brick'] -> ''</pre> |
['ectoplasm', 'banana', 'brick'] -> ''</pre> |
||
=={{header| |
=={{header|BaCon}}== |
||
<lang BaCon>FUNCTION Common_Suffix$(data$) |
<lang BaCon>FUNCTION Common_Suffix$(data$) |
||
Line 511: | Line 511: | ||
The common suffix is: 'fix' |
The common suffix is: 'fix' |
||
The common suffix is: ''</pre> |
The common suffix is: ''</pre> |
||
=={{header|Delphi}}== |
=={{header|Delphi}}== |