All Projects → epigra → trstringhelper

epigra / trstringhelper

Licence: MIT license
PHP Türkçe Karakter String Kütüphanesi

Programming Languages

PHP
23972 projects - #3 most used programming language

PHP Türkçe Karakter Destekli String Fonksiyonları (toupper,tolower,ucfirst,ucwords) Kütüphanesi

Yükleme

Composer ile yükleyebilirsiniz:

composer require epigra/trstringhelper

Kullanım

use Epigra\TRStringHelper;

$w = new TRStringHelper("dEneMe. çĞıŞöİÜ");
echo $w->toLower()->result(); // deneme. çğışöiü

$x = (new TRStringHelper())->withString("dEneMe. çĞıŞöİÜ")->toUpper()->result();
echo $x; // DENEME. ÇĞIŞÖİÜ

$y = (new TRStringHelper("dEneMe. çĞıŞöİÜ"))->ucFirst()->result();
echo $y; // Deneme. çğışöiü

$z = (new TRStringHelper())->withString("dEneMe. çĞıŞöİÜ")->ucWords()->result(); 
echo $z; // Deneme. Çğışöiü

With Pangram (*)

$p = (new TRStringHelper())->withPangram()->toUpper()->result();
echo $p;

Random Pangram (*)

$rp = TRStringHelper::pangram();
echo $rp;

https://tr.wikipedia.org/wiki/Pangram http://www.afilifilintalar.com/pangramlar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].