From 34f4d7c67fd272df4e38c13861092d4db37e70f0 Mon Sep 17 00:00:00 2001 From: Rikard Bosnjakovic <bos@hack.org> Date: Thu, 4 May 2000 13:16:34 +0200 Subject: [PATCH] Type returned by strlen() wrong. Thanks to Rikard Bosnjakovic for pointing this out. Rev: tutorial/tutorial.wmml:1.200 --- tutorial/tutorial.wmml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index 5d340fa621..ceb278f491 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -1608,7 +1608,7 @@ Equvivalent to <tt>sizeof(<i>haystack</i>/<i>needle</i>)-1</tt>. <dt><tt>int stringp(mixed <i>s</i>)</tt> <dd>This function returns 1 if <i>s</i> is a string, 0 otherwise. -<dt><tt>string strlen(string <i>s</i>)</tt> +<dt><tt>int strlen(string <i>s</i>)</tt> <dd>Returns the length of the string <i>s</i>. <dt><tt>string upper_case(string <i>s</i>)</tt> -- GitLab