Develop/PHP
php 문자열 자르기 제일 간단한 것
다니엘SEO
2010. 1. 8. 02:45
mb_strimwidth($data['subject'], '0', '90', '...', 'utf-8');
utf-8일 경우가 거의 정상적이다.