1 drupal.inc drupal_strlen($text)

Counts the number of characters in a UTF-8 string.

Deprecated

since 1.0.0

See also

backdrop_strlen()

Related topics

File

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

Code

function drupal_strlen($text) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_strlen($text);
}