php man page for mb_strcut

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 string

SYNOPSIS
string mb_strcut (string $str, int $start, [int $length = NULL], [string $encoding = mb_internal_encoding()])
DESCRIPTION
mb_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.
PARAMETERS
o $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 VALUES
mb_strcut(3) returns the portion of $str specified by the $start and $length parameters.
SEE ALSO
mb_substr(3), mb_internal_encoding(3). PHP Documentation Group MB_STRCUT(3)
Related Man Pages
mb_convert_case(3) - php
mb_strtolower(3) - php
iconv_substr(3) - php
mb_strimwidth(3) - php
mb_strpos(3) - php
Similar Topics in the Unix Linux Community
read string, check string length and cut
Help with cutting a string
perl regex multi line cut
How to cut string and find missing pattern?
How do I use the cut command to only print the directories?