RosettaCodeData/Task/Longest-common-substring/Lambdatalk/longest-common-substring-2.lambdatalk
2023-07-01 13:44:08 -04:00

11 lines
249 B
Text

{jslcs testing123testing thisisatest}
-> tsitest // 130ms
{script
// the lcs function code is in the javascript entry
LAMBDATALK.DICT["jslcs"] = function() {
var args = arguments[0].split(" ");
return lcs( args[0], args[1] )
};
}