1 drupal.inc drupal_ucfirst($text)

Capitalizes the first letter of a UTF-8 string.

Deprecated

since 1.0.0

See also

backdrop_ucfirst()

Related topics

File

core/includes/drupal.inc, line 2475
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_ucfirst($text) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_ucfirst($text);
}