function veh_startsWith in Extra Views Handlers 7
1 call to veh_startsWith()
- views_extra_handlers_handler_field_query_alter::query in views/
handlers/ views_extra_handlers_handler_field_query_alter.inc - Called to add the field to a query.
File
- ./
views_extra_handlers.module, line 153 - Provides a generic but powerful API for web services.
Code
function veh_startsWith($haystack, $needle) {
return $needle === "" || strpos($haystack, $needle) === 0;
}