• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/sqlhelper.php
  • Класс: BitrixMainDBSqlHelper
  • Вызов: SqlHelper::convertFromDbString
public function convertFromDbString($value, $length = null)
{
	if ($length > 0)
	{
		$value = mb_substr($value, 0, $length);
	}

	return strval($value);
}