PHP 忒聊 綴豖 ヶ輛 mb_strimwidth (PHP 4 = 4.0.6) Description 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. 瞰赽 1. mb_strimwidth() example $str = mb_strimwidth($str, 0, 40, ".. "); See also: mb_strwidth(), mb_internal_encoding(). 綴豖 れ萸 ヶ輛 mb_strcut 奻珨撰 mb_strlen