diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 5f29df2a..8f1a7dfb 100755 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -110,4 +110,10 @@ native isalpha(ch); native isspace(ch); /* Returns true when value is letter or digit. */ -native isalnum(ch); \ No newline at end of file +native isalnum(ch); + +/* Concatenates a string. Maxlength is the total buffer of the destination. */ +native strcat(dest[], const source[], maxlength); + +/* Finds a string in another string. Returns -1 if not found. */ +native strfind(const string[], const sub[], bool:ignorecase=false, pos=0);