PHP code example of pkirillw / char-sorting

1. Go to this page and download the library: Download pkirillw/char-sorting 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/ */

    

pkirillw / char-sorting example snippets

 php
$charSorting = new pkirillw\charSorting();
// $charSorting->sortChar($string, $delimiter);
echo $charSorting->sortChar('лимон апельсин банан яблоко', ' ');