|
|
|
|
|
|
|
|
requirements()
Return Unicode library status and errors. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
truncate_utf8(string_,
len_,
wordsafe=False,
dots=False)
Truncate a UTF-8-encoded string safely to a number of characters. |
source code
|
|
|
|
|
|
|
mime_header_decode(header_)
Complement to mime_header_encode |
source code
|
|
|
|
_mime_header_decode(matches)
Helper function to mime_header_decode |
source code
|
|
|
|
|
|
|
|
|
|
drupal_strlen(text)
Count the amount of characters in a UTF-8 string+ This is less than or
equal to the byte count. |
source code
|
|
|
|
drupal_strtoupper(text)
Uppercase a UTF-8 string. |
source code
|
|
|
|
drupal_strtolower(text)
Lowercase a UTF-8 string. |
source code
|
|
|
|
|
|
|
drupal_ucfirst(text)
Capitalize the first letter of a UTF-8 string. |
source code
|
|
|
|
drupal_substr(text,
start,
length=None)
Cut off a piece of a string based on character indices and counts+ Follows
the same behavior as PHP's own substr() function. |
source code
|
|