function drupal_ucfirst

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 unicode.inc drupal_ucfirst($text)
cle7 unicode.inc drupal_ucfirst($text)
elmsmedia7 unicode.inc drupal_ucfirst($text)
icor7 unicode.inc drupal_ucfirst($text)
meedjum_blog7 unicode.inc drupal_ucfirst($text)
mooc7 unicode.inc drupal_ucfirst($text)

Capitalizes the first letter of a UTF-8 string.

Parameters

$text: The string to convert.

Return value

The string with the first letter as uppercase.

Related topics

31 calls to drupal_ucfirst()
at_core_fonts_form in sites/all/themes/ulmus/adaptivetheme/at_core/inc/forms/settings.fonts.inc
@file Generate form elments for the font settings.
at_core_headings_form in sites/all/themes/ulmus/adaptivetheme/at_core/inc/forms/settings.headings.inc
@file Generate form elments for the Headings Styles settings.
at_core_page_layout_form in sites/all/themes/ulmus/adaptivetheme/at_core/inc/forms/settings.pagelayout.inc
@file Generate form elments for the Page Layout settings.
at_core_responsive_panels_form in sites/all/themes/ulmus/adaptivetheme/at_core/inc/forms/settings.responsivepanels.inc
@file Generate form elments for the Panel and Gpanel Reponsive Layout settings.
comment.tpl.php in themes/garland/comment.tpl.php

... See full list

File

includes/unicode.inc, line 562
Provides Unicode-related conversions and operations.

Code

function drupal_ucfirst($text) {
  // Note: no mbstring equivalent!
  return drupal_strtoupper(drupal_substr($text, 0, 1)) . drupal_substr($text, 1);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.