[Linux-programlama] Re: PHP ilk kelime büyük

2011-08-23 Başlik Omer Barlas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23-08-2011 09:12, Erdal YAZICIOGLU wrote:
 İki cümlenin ilk harflerini büyük yapan bir fonksiyon bilen var
 mı...

ucfirst()

örneklerden ilki Turkish solution başlıklı.

- -- 
Omer Barlas
o...@barlas.com.tr
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5TSW8ACgkQdGekJptkwetVfgCeOFqRA05TKzM2UJEqmAUBu4Q8
uZYAnj8/Wd5o6Joj7oVQfjqOArWbP/0R
=OQXc
-END PGP SIGNATURE-
___
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


[Linux-programlama] Re: PHP ilk kelime büyük

2011-08-23 Başlik Erhan BURHAN

ş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


[Linux-programlama] Re: PHP ilk kelime büyük

2011-08-23 Başlik Erdal YAZICIOGLU
ama ucfisrt sadece ilk cümleyi yapıyor. İki cümle olduğunda işe yaramıyor...
Bana cümlede noktadan sonrası lazım...

23 Ağustos 2011 09:32 tarihinde Omer Barlas o...@barlas.com.tr yazdı:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 23-08-2011 09:12, Erdal YAZICIOGLU wrote:
  İki cümlenin ilk harflerini büyük yapan bir fonksiyon bilen var
  mı...

 ucfirst()

 örneklerden ilki Turkish solution başlıklı.

 - --
 Omer Barlas
 o...@barlas.com.tr
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk5TSW8ACgkQdGekJptkwetVfgCeOFqRA05TKzM2UJEqmAUBu4Q8
 uZYAnj8/Wd5o6Joj7oVQfjqOArWbP/0R
 =OQXc
 -END PGP SIGNATURE-
 ___
 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




-- 
Erdal YAZICIOGLU
*Shell Pearl GTL
Projecthttp://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
Twitter: @chveneburo
___
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


[Linux-programlama] Re: PHP ilk kelime büyük

2011-08-23 Başlik Erdal YAZICIOGLU
teşekkürler...


İşime yaradı..

Kolay gelsin

23 Ağustos 2011 09:34 tarihinde Erhan BURHAN ebur...@msn.com yazdı:

 **
 ş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 
 Projecthttp://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
 Twitter: @chveneburo


 --
 Erhan BURHANeburhan.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




-- 
Erdal YAZICIOGLU
*Shell Pearl GTL
Projecthttp://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
Twitter: @chveneburo
___
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