public static Connection::sqlFunctionSubstring($string, $from, $length)
SQLite compatibility implementation for the SUBSTRING() SQL function.
File
- core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 243
Class
- Connection
- SQLite implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\Core\Database\Driver\sqlite
Code
public static function sqlFunctionSubstring($string, $from, $length) { return substr($string, $from - 1, $length); }
Please login to continue.