From b22bb3e903f843d5052faa9f90fb08099bc76e83 Mon Sep 17 00:00:00 2001 From: Thomas Schoefbeck Date: Wed, 22 Jan 2003 21:38:26 +0000 Subject: [PATCH] closed open bracket git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@113061 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/substr.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reference/strings/functions/substr.xml b/reference/strings/functions/substr.xml index f4e396a76e..8ae115ea4c 100644 --- a/reference/strings/functions/substr.xml +++ b/reference/strings/functions/substr.xml @@ -1,5 +1,5 @@ - + @@ -49,7 +49,8 @@ echo $string{3}; // returns d If start is negative, the returned string will start at the start'th character - from the end of string. + from the end of string. + Using a negative <parameter>start</parameter> @@ -66,7 +67,7 @@ $rest = substr("abcdef", -3, 1); // returns "d" If length is given and is positive, the string returned will contain at most length characters beginning from start (depending on the length of - string. If string is less + string). If string is less than start characters long, &false; will be returned.