Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
FUNCTION Common_Sub$(haystack$, needle$)
|
||||
|
||||
WHILE LEN(needle$)
|
||||
FOR x = LEN(needle$) DOWNTO 1
|
||||
IF INSTR(haystack$, LEFT$(needle$, x)) THEN RETURN LEFT$(needle$, x)
|
||||
NEXT
|
||||
needle$ = MID$(needle$, 2)
|
||||
WEND
|
||||
EXIT
|
||||
|
||||
ENDFUNC
|
||||
|
||||
PRINT Common_Sub$("thisisatest", "testing123testing")
|
||||
Loading…
Add table
Add a link
Reference in a new issue