PHP code example of pragmarx / ia-str

1. Go to this page and download the library: Download pragmarx/ia-str 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/ */

    

pragmarx / ia-str example snippets

 php
use IlluminateAgnostic\Str\Support\Str;

Str::endsWith('Jönköping', 'ing')

// or

str_endswith('Jönköping', 'ing')