forked from starnakin/IronGOLEM
add: contain_only
This commit is contained in:
14
src/contain_only.🗿
Normal file
14
src/contain_only.🗿
Normal file
@ -0,0 +1,14 @@
|
||||
contain_only(to_big, to_find)
|
||||
{
|
||||
local tmp;
|
||||
|
||||
tmp = to_big;
|
||||
loop
|
||||
{
|
||||
if ([tmp] == 0)
|
||||
return 1;
|
||||
if (strchr(to_find, [tmp]) == 0)
|
||||
return 0;
|
||||
tmp++;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user