note 115399 deleted from function.mb-convert-case by salathe

From: Date: Fri, 18 Jul 2014 09:47:09 +0000
Subject: note 115399 deleted from function.mb-convert-case by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-199958@lists.php.net to get a copy of this message
Note Submitter: M Fatih GNSTER ---- Türkçe için ek kullanım; //Use for Turkish <code> <? function ilkBuyuk($str) { return ltrim(mb_convert_case(str_replace(array('i', 'I'), array('İ', 'ı'),$str), MB_CASE_TITLE, 'UTF-8')); } echo ilkBuyuk('fıstıkçı şahap çek bir ıhlamur işin iş önce üretim'); echo ilkBuyuk('FISTIKÇI ŞAHAP ÇEK BİR IHLAMUR İŞİN İŞ ÖNCE ÜRETİM'); ?> </code> Her ikisinin de çıktısı: //Print both Fıstıkçı Şahap Çek Bir Ihlamur İşin İş Önce Üretim

« previous php.notes (#199958) next »