mb_strimwidthPodręcznik PHPPoprzedniNastępnymb_strimwidth (PHP 4 >= 4.0.6)mb_strimwidth -- Get truncated string with specified widthDescriptionstring mb_strimwidth ( string str, int start, int width, string trimmarker [, string encoding])
mb_strimwidth() truncates string
str to specified
width. It returns truncated string.
If trimmarker is set,
trimmarker is appended to return value.
start is start position offset. Number of
characters from the beginning of string. (First character is 0)
trimmarker is string that is added to the
end of string when string is truncated.
encoding is character encoding. If it is
omitted, internal encoding is used.
Przykład 1. mb_strimwidth() example$str = mb_strimwidth($str, 0, 40, "..>");
See also: mb_strwidth(),
mb_internal_encoding().
PoprzedniSpis treściNastępnymb_strcutPoczątek rozdziałumb_strlen
Wyszukiwarka
Podobne podstrony:
function mb strimwidthfunction mb http outputfunction mb http outputfunction mb parse strfunction mb strposfunction mb preferred mime namefunction mb strlenfunction mb detect orderfunction mb encode numericentityfunction mb strwidthfunction mb substitute characterfunction mb convert kanafunction mb strrposfunction mb encode mimeheaderfunction mb convert variablesfunction mb splitfunction mb ereg search getregsfunction mb strtoupperwięcej podobnych podstron