forked from starnakin/IronGOLEM
add: split
This commit is contained in:
11
src/tabcmp.🗿
Normal file
11
src/tabcmp.🗿
Normal file
@ -0,0 +1,11 @@
|
||||
tabcmp_str(tab1, tab2)
|
||||
{
|
||||
local i = 0;
|
||||
|
||||
loop
|
||||
{
|
||||
if (strcmp([tab1 + i], [tab2 + i]) | [tab1 + i] == 0)
|
||||
return ([tab1 + i] - [tab2 + i]);
|
||||
i++;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user