| 5 unicode.inc | drupal_ucfirst($text) |
| 6 unicode.inc | drupal_ucfirst($text) |
| 7 unicode.inc | drupal_ucfirst($text) |
| 8 unicode.inc | drupal_ucfirst($text) |
Capitalize the first letter of a UTF-8 string.
Related topics
6 calls to drupal_ucfirst()
File
- includes/
unicode.inc, line 500
Code
function drupal_ucfirst($text) {
// Note: no mbstring equivalent!
return drupal_strtoupper(drupal_substr($text, 0, 1)) . drupal_substr($text, 1);
}
Login or register to post comments