getLength
integer public static \Bitrix\Main\Text\BinaryString::getLength( $str );
Static method. Returns string length or 0, if string is empty. Executes safe operation in terms of multibyte character sets. Analog to PHP function strlen.
Parameters
Parameter | Description | Version |
---|---|---|
$str | String with length to be adjusted. |
Example
© «Bitrix24», 2001-2024
Up