PHP code example of sulaiman / php-string-convert

1. Go to this page and download the library: Download sulaiman/php-string-convert library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sulaiman / php-string-convert example snippets


kasiBesar('hello') // HELLO

kasiKecil('HELLO') // hello

firstLetterJeBesar('hello world') // Hello World

tukarKeSlug('hello world') // hello-world

buangExtraSpace('hello    world    ') // hello world