Commit 0287c86c authored by alexpott's avatar alexpott

Issue #2361799 by Palashvijay4O | rpayanm: Remove drupal_strlen.

parent 104f1dc1
......@@ -187,23 +187,6 @@ function mime_header_decode($header) {
return Unicode::mimeHeaderDecode($header);
}
/**
* Counts the number of characters in a UTF-8 string.
*
* @param $text
* The string to run the operation on.
*
* @return integer
* The length of the string.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
* Use \Drupal\Component\Utility\Unicode::strlen().
* @ingroup php_wrappers
*/
function drupal_strlen($text) {
return Unicode::strlen($text);
}
/**
* Cuts off a piece of a string based on character indices and counts.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment