SQLite compatibility implementation for the SUBSTRING() SQL function.
public static function sqlFunctionSubstring($string, $from, $length) { return substr($string, $from - 1, $length); }