From 5d92972aad7d0cb7ffdacb6e827e057cc3f33385 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 30 Jul 2005 16:46:40 +0000 Subject: [PATCH] one more --- plugins/include/string.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 8f1a7dfb..54c56e78 100755 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -116,4 +116,7 @@ native isalnum(ch); 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); +native strfind(const string[], const sub[], ignorecase=0, pos=0); + +/* Compares two strings with the C function strcmp(). Returns 0 on equal. */ +native strcmp(const string1[], const string2[], ignorecase=0); \ No newline at end of file