diff --git a/reference/intl/grapheme/grapheme-substr.xml b/reference/intl/grapheme/grapheme-substr.xml index e55ace6d44..d204392ff6 100644 --- a/reference/intl/grapheme/grapheme-substr.xml +++ b/reference/intl/grapheme/grapheme-substr.xml @@ -50,11 +50,10 @@ Length in grapheme units. If $length is given and is positive, the string returned will contain at most $length grapheme units beginning from $start (depending on the - length of string). If $string is less than or equal to $start grapheme - units long, FALSE will be returned. If $length is given and is negative, then + length of string). If $length is given and is negative, then that many grapheme units will be omitted from the end of string (after the start position has been calculated when a start is negative). If $start - denotes a position beyond this truncation, an empty string will be returned. + denotes a position beyond this truncation, &false; will be returned. @@ -70,6 +69,34 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.4 + + If length is given and positive and the + argument string is shorter than the specified length, all the rest of + the string according to start parameter is + returned. Previously, &false; was returned. + + + + + + + + + &reftitle.examples;