method
public
static
BinaryString::getSubstring()
Сигнатура
public static getSubstring(mixed $str, mixed $start, array<string|int, mixed> ...$args) : string
Описание
Двоичная версия substr.
Параметры
$str
mixed
$start
mixed
$args
array<string|int, mixed>
Возвращаемое значение
string
Как применяется в BinaryString
BinaryString::getSubstring() — метод класса \Bitrix\Main\Text\BinaryString модуля «Главный модуль».
Статический метод — вызывается через имя класса BinaryString, без создания объекта.
use Bitrix\Main\Text\BinaryString;
$str = null;
$start = null;
$args = [];
$result = BinaryString::getSubstring($str, $start, $args);
// $result: stringДругие методы BinaryString
changeCaseToLower()Двоичная версия strtolower.getLastPosition()Двоичная версия strrpos.getLastPositionIgnoreCase()Двоичная версия strripos.getLength()Двоичная версия strlen.getPosition()Двоичная версия strpos.getPositionIgnoreCase()Двоичная версия stripos.
Исходный файл: source/main/lib/text/binarystring.php:32

