Changeset 680 for trunk/xpressme_integration_kit/wp-content/plugins
- Timestamp:
- Feb 21, 2011, 9:27:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r649 r680 477 477 function xpress_substr($str, $start, $length, $trimmarker = '...') 478 478 { 479 if (function_exists('mb_substr') ){479 if (function_exists('mb_substr') && function_exists('mb_strlen')){ 480 480 $str2 = mb_substr( $str , $start , $length); 481 481 return $str2 . ( mb_strlen($str)!=mb_strlen($str2) ? $trimmarker : '' );
Note: See TracChangeset
for help on using the changeset viewer.