şu işini görür sanırım:

   $str = 'hello world. we came in piece.';
   $str = preg_split('|\s*\.\s*|', $str);
   $str = array_map('ucfirst', $str);
   $str = implode('. ', $str);


23.08.2011 09:12, Erdal YAZICIOGLU yazmış:
Arkadaşlar merhaba

İki cümlenin ilk harflerini büyük yapan bir fonksiyon bilen var mı...

Örnek
hello world.we came in piece.

Çıktı
Hello world. We came in piece.

Google çok fazla sonuç vermedi..

Kolay gele

--
Erdal YAZICIOGLU
*Shell Pearl GTL Project <http://www.shell.com/home/content/aboutshell/our_strategy/major_projects_2/pearl/>*
Telecoms System Integrator
Project Engineer Manager
RLIC, State of Qatar
www.erdalyazicioglu.com.tr <http://www.erdalyazicioglu.com.tr>
Twitter: @chveneburo

--
Erhan BURHAN
eburhan.com

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
https://liste.linux.org.tr/mailman/listinfo/linux-programlama
Liste kurallari: http://liste.linux.org.tr/kurallar.php

Cevap