Use drupal_strtoupper() and drupal_substr()

kiamlaluno - November 12, 2008 - 05:12
Project:Flexifilter
Version:6.x-1.x-dev
Component:Code - Misc
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Drupal has the function drupal_strtoupper() which can handle Unicode. Its use is preferable to strtoupper().

#1

kiamlaluno - November 13, 2008 - 22:43
Title:Replace the calls to strtoupper with drupal_strtoupper» Use drupal_strtoupper and drupal_substr

The same is true for drupal_substr() versus substr().

#2

kiamlaluno - November 30, 2009 - 02:11
Title:Use drupal_strtoupper and drupal_substr» Use drupal_strtoupper() and drupal_substr()
Version:6.x-1.1-rc1» 6.x-1.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.