Jump to content

Longest common substring: Difference between revisions

m
(Longest common substring in various dialects BASIC (QBasic, Run BASIC and True BASIC))
Line 1,735:
FOR k := length ( S1 ) - j DOWNTO 1 DO BEGIN
 
S := Copy(S1 [, ( j + 1 ) .., ( k + j + 1 ) ]) ;
IF ( pos ( S, S2 ) > 0 ) AND
122

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.