Query: mb_strcut
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MB_STRCUT(3) 1 MB_STRCUT(3) mb_strcut - Get part of stringSYNOPSISstring mb_strcut (string $str, int $start, [int $length = NULL], [string $encoding = mb_internal_encoding()])DESCRIPTIONmb_strcut(3) extracts a substring from a string similarly to mb_substr(3), but operates on bytes instead of characters. If the cut position happens to be between two bytes of a multi-byte character, the cut is performed starting from the first byte of that character. This is also the difference to the substr(3) function, which would simply cut the string between the bytes and thus result in a malformed byte sequence.PARAMETERSo $str - The string being cut. o $start - Starting position in bytes. o $length - Length in bytes. If omitted or NULL is passed, extract all bytes to the end of the string. o $encoding -The $encoding parameter is the character encoding. If it is omitted, the internal character encoding value will be used.RETURN VALUESmb_strcut(3) returns the portion of $str specified by the $start and $length parameters.SEE ALSOmb_substr(3), mb_internal_encoding(3). PHP Documentation Group MB_STRCUT(3)
Related Man Pages |
---|
mb_ereg_search_pos(3) - php |
mb_internal_encoding(3) - php |
iconv_substr(3) - php |
mb_strimwidth(3) - php |
mb_strtoupper(3) - php |
Similar Topics in the Unix Linux Community |
---|
Help with `Who am i` and `cut` |
cut command |
perl regex multi line cut |
Substring using cut/awk/sed |
How to cut string and find missing pattern? |