From 389a593f9ec0c22864dcde0e55853e76be95e8a3 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 30 Jul 2005 16:41:34 +0000 Subject: [PATCH] ugh --- plugins/include/string.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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);